DVD_AudioAttributes structure (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The DVD_AudioAttributes
structure is used in IDvdInfo2::GetAudioAttributes to receive the various audio attributes of the disc.
Syntax
typedef struct tagDVD_AudioAttributes {
DVD_AUDIO_APPMODE AppMode;
BYTE AppModeData;
DVD_AUDIO_FORMAT AudioFormat;
LCID Language;
DVD_AUDIO_LANG_EXT LanguageExtension;
BOOL fHasMultichannelInfo;
DWORD dwFrequency;
BYTE bQuantization;
BYTE bNumberOfChannels;
DWORD dwReserved[2];
} DVD_AudioAttributes;
Members
AppMode
Indicates the current audio mode. If the mode returned is DVD_AudioMode_Karaoke, call IDvdInfo2::GetKaraokeAttributes to get more info.
AppModeData
AudioFormat
Describes the format (encoding mode) of the audio stream.
Language
An LCID value indicating the language of the audio stream. Is zero if no language is present.
LanguageExtension
A DVD_AUDIO_LANG_EXT enumeration that will be filled in if any information is available on the disc.
fHasMultichannelInfo
Indicates whether multichannel attributes are present. If TRUE, it means there is additional mixing information available, such as for SurroundSound. Call IDvdInfo2::GetTitleAttributes to retrieve the multichannel information.
dwFrequency
The frequency in hertz (48k, 96k) of the audio stream.
bQuantization
The resolution of the audio stream (16, 20, 24 bits, or other) Zero indicates the resolution is unknown.
bNumberOfChannels
The number of channels. For example, 5.1 Dolby AC-3 has six channels.
dwReserved[2]
Reserved.
Requirements
Requirement | Value |
---|---|
Header | strmif.h (include Dshow.h) |