IAMExtTransport::GetTransportAudioParameters method (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The GetTransportAudioParameters
method retrieves audio parameter setting for external transport.
This method is not implemented.
Syntax
HRESULT GetTransportAudioParameters(
[in] long Param,
[out] long *pValue
);
Parameters
[in] Param
Specifies the audio parameter, whose value you want receive, as a long integer containing one of the following values.
Value | Description |
---|---|
ED_TRANSAUDIO_ENABLE_OUTPUT | Audio output channel(s) |
ED_TRANSAUDIO_ENABLE_RECORD | Audio recording channel(s) |
ED_TRANSAUDIO_ENABLE_SELSYNC | Audio selsync recording channel(s) |
ED_TRANSAUDIO_SET_MONITOR | Monitor output audio channel(s) |
ED_TRANSAUDIO_SET_SOURCE | Audio source channel(s) |
[out] pValue
Specifies a pointer to a long integer to receive the channel or channels set in the IAMExtTransport::SetTransportAudioParameters method.
Return value
When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |
Library | Strmiids.lib |