DVD_AudioAttributes Structure

 
Microsoft DirectShow 9.0

DVD_AudioAttributes Structure

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

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

Currently not used.

Requirements

Header: Dshow.h.

See Also