![background image](http://html1.mh-extra.com/html/advantech/dvp-7410/dvp-7410_user-manual_2858643057.webp)
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:
Failure.
S_OK: Success.
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:
Failure.
S_OK: Success.
E_ACCESSDENIED : This interface is not initialized.
53
Summary of Contents for DVP-7410
Page 1: ...DVP 7410 1 Channel MPEG 1 2 4 Digital Video Decoder Card...
Page 4: ......
Page 5: ...General Information 1 CHAPTER...
Page 13: ...Functions Library 2 CHAPTER...
Page 62: ...DVP 7410 User s Manual 58...