Microsoft DirectX 8.0 |
When the DVD Navigator filter goes into karaoke mode, it informs the audio decoder through the AM_PROPERTY_DVDKARAOKE_ENABLE property. The decoder should then mute audio channels 2 through 5 until it receives from the DVD Navigator an AM_PROPERTY_DVDKARAOKE_DATA property with a pointer to an AM_DvdKaraokeData data structure indicating how the auxiliary channels are to be mixed.
Syntax
typedef enum { AM_PROPERTY_DVDKARAOKE_ENABLE = 0, // BOOL AM_PROPERTY_DVDKARAOKE_DATA = 1, } AM_PROPERTY_DVDKARAOKE;
Elements
- AM_PROPERTY_DVDKARAOKE_ENABLE
- The DVD Navigator sends the decoder an AM_PROPERTY_DVDKARAOKE_ENABLE with a value of true to enable karaoke downmixing or false to disable it.
- AM_PROPERTY_DVDKARAOKE_DATA
- The DVD Navigator sends the decoder an AM_PROPERTY_DVDKARAOKE_DATA property with a pointer to an AM_DvdKaraokeData structure to change the downmix configuration; that is, to turn certain karaoke channels on or off and direct them to the right or left output channel.
Syntax
typedef struct tagAM_DvdKaraokeData { DWORD dwDownmix; DWORD dwSpeakerAssignment; } AM_DvdKaraokeData;
Members
- dwDownmix
- A bitwise OR of DVD_KARAOKE_DOWNMIX flags telling the decoder which channels are downmixed to channels 0 or 1.
- dwSpeakerAssignment
- A valid DVD_KARAOKE_ASSIGNMENT value that indicates which speakers the output is going to.
See Also
SelectKaraokeAudioPresentationMode