Export (0) Print
Expand All
Expand Minimize

DVD_MUA_MixingInfo structure

The DVD_MUA_MixingInfo structure describes the surround sound mixing information for the channels in one audio stream in a specified title.

Syntax


typedef struct tagDVD_MUA_MixingInfo {
  BOOL  fMixTo0;
  BOOL  fMixTo1;
  BOOL  fMix0InPhase;
  BOOL  fMix1InPhase;
  DWORD dwSpeakerPosition;
} DVD_MUA_MixingInfo;

Members

fMixTo0

Variable of type BOOL; TRUE means the channel is mixed to channel 0.

fMixTo1

Variable of type BOOL; TRUE means the channel is mixed to channel 1.

fMix0InPhase

Variable of type BOOL; TRUE means the channel is mixed in phase to channel 0.

fMix1InPhase

Variable of type BOOL; TRUE means the channel is mixed in phase to channel 1.

dwSpeakerPosition

The speaker for which this channel is intended. See Remarks.

Remarks

Applications cannot use the information contained in this structure to change the mixing unless they have a way to communicate with a custom audio decoder that has been inserted manually into the filter graph. The default audio decoder handles Linear Pulse Code Modulated (LPCM) audio using the mixing information on the digital video disc (DVD), but applications have no way to instruct the decoder to modify the mixing values. This means that current DVD playback applications should have no need to access the multichannel-related data structures.

The DVD_MultichannelAudioAttributes structure contains information about one audio stream in a specified title. An array of up to eight DVD_MUA_MixingInfo structures will be populated in this structure, if the following conditions are true.

  • DVD_AudioAttributes.AppMode = DVD_AudioMode_Surround
  • DVD_AudioAttributes.AudioFormat = DVD_AudioFormat_LPCM
  • DVD_AudioAttributes.fHasMultichannelInfo = 1

Possible values for dwSpeakerPosition are defined in Ksmedia.h as follows:

Define Value
KSAUDIO_SPEAKER_LEFT0x1
KSAUDIO_SPEAKER_RIGHT0x2
KSAUDIO_SPEAKER_CENTER0x4
KSAUDIO_SPEAKER_SURROUND_LEFT0x8
KSAUDIO_SPEAKER_SURROUND_RIGHT0x10
KSAUDIO_SPEAKER_SUBWOOFER0x20
KSAUDIO_SPEAKER_LEFT_OF_CENTER0x40
KSAUDIO_SPEAKER_RIGHT_OF_CENTER0x80
KSAUDIO_SPEAKER_SURROUND_MONO0x100
KSAUDIO_SPEAKER_SIDE_LEFT0x200
KSAUDIO_SPEAKER_SIDE_RIGHT0x400
KSAUDIO_SPEAKER_TOP0x800

 

Requirements

Header

Strmif.h (include Dshow.h)

See also

DirectShow Structures
DVD_AudioAttributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft