IDVDStreamAttributes::GetAudioAttr (Windows Embedded CE 6.0)
1/6/2010
This method returns the attributes of a specified audio stream number in the current video object set (VOBS).
Depending on the source of the current VOBS, IDVDStream Attributes::GetAudioAttr can return either a video manager menu audio stream attribute (VMGM_AST_ATR), a video title set menu audio stream attribute (VTSM_AST_ATR), or a video title set audio stream attribute (VTS_AST_ATR).
Syntax
HRESULT GetAudioAttr(
UINT nStreamNo,
DVD_AUDIO_STREAM_ATTR* pAudioAttr
);
Parameters
- nStreamNo
[in] Specified audio stream number in the range from 0 to the current audio stream count provided by IDVDStreamAttributes::GetAudioCount.
- pAudioAttr
[out] Pointer to a DVD_AUDIO_STREAM_ATTR structure containing the audio stream attributes for stream number nStreamNo in the current VOBS.
Return Value
This method always returns S_OK.
Requirements
Header | dvdata.h, dvdata.idl |
Library | Ddvdids.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IDVDStreamAttributes
IDVDStreamAttributes::GetAudioCount
IDVDStreamAttributes::GetVideoAttr
DVD_AUDIO_STREAM_ATTR