Microsoft DirectX 8.1 (C++) |
The SetTransportAudioParameters assigns audio parameter settings for external transport.
Syntax
HRESULT SetTransportAudioParameters(
long Param,
long Value
);
Parameters
Param
[in] Specifies the audio parameter you want to set as a long integer.
Value | Description |
ED_TRANSAUDIO_ENABLE_OUTPUT | Enable audio channel(s) for output. |
ED_TRANSAUDIO_ENABLE_RECORD | Enable audio channel(s) for recording. |
ED_TRANSAUDIO_ENABLE_SELSYNC | Enable audio channel(s) for selsync recording. |
ED_TRANSAUDIO_SET_MONITOR | Set the monitor output source. |
ED_TRANSAUDIO_SET_SOURCE | Set the active audio input. |
Value
[in] Specifies which audio channel or channels is assigned the parameter as a long integer.
Return Values
When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
Remarks
Specify an exact channel or channels in Value by selecting ED_AUDIO_1 through ED_AUDIO_24 (use a bitwise OR to combine), or all channels by selecting ED_AUDIO_ALL.
DV Implementation
MSDV does not support this method. It returns E_NOTIMPL.
See Also