Advantech DVP-7410 User Manual page 57

1 channel mpeg 1/2/4 digital video decoder card
Table of Contents

Advertisement

Adv_DVPAPI_SetAudioOutputMode
Syntax
HRESULT Adv_DVPAPI_SetAudioOutputMode(
AUDIO_OUTPUT_MODE Mode)
Description
Sets the audio mode to stereo, left or right channels. When the mode is set to the
left or right channel, that particular channel is heard through both speakers. See
remarks section below for exceptions to this behavior.
Parameters
Mode
[in] New audio output mode.
Return Value
E_FAIL:
S_OK:
E_ACCESSDENIED : This interface is not initialized.
S_FALSE: Output only through chosen channel.
Remarks
Some devices do not support outputting a single channel through
both speakers. On these, the audio output will come out only through
the chosen channel and the method will return S_FALSE to indicate so.
Adv_DVPAPI_GetAudioOutputType
Syntax
HRESULT Adv_DVPAPI_GetAudioOutputType(
LPAUDIO_OUTPUT_TYPE lpType)
Description
Retrieves the current audio type (Dolby Surround, AC3, PCM).
Parameters
lpType
[out] Pointer to the currently set output type.
Return Value
E_FAIL:
S_OK:
E_ACCESSDENIED : This interface is not initialized.
Failure.
Success.
Failure.
Success.
53

Advertisement

Table of Contents
loading

Table of Contents