IDVDStreamAttributes::GetAudioAttr

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).

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 Values

This method always returns S_OK.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.

See Also

IDVDStreamAttributes | IDVDStreamAttributes::GetAudioCount | IDVDStreamAttributes::GetVideoAttr | DVD_AUDIO_STREAM_ATTR

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.