Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 2.9 KB

ns-ksmedia-ksac3_alternate_audio.md

File metadata and controls

78 lines (62 loc) · 2.9 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:ksmedia.KSAC3_ALTERNATE_AUDIO
KSAC3_ALTERNATE_AUDIO (ksmedia.h)
The KSAC3_ALTERNATE_AUDIO structure specifies whether the two mono channels in an AC-3-encoded stream should be interpreted as a stereo pair or as two independent program channels.
audio\ksac3_alternate_audio.htm
audio
08/20/2020
KSAC3_ALTERNATE_AUDIO structure
*PKSAC3_ALTERNATE_AUDIO, KSAC3_ALTERNATE_AUDIO, KSAC3_ALTERNATE_AUDIO structure [Audio Devices], PKSAC3_ALTERNATE_AUDIO, PKSAC3_ALTERNATE_AUDIO structure pointer [Audio Devices], aud-prop_172c7e1b-4c53-4836-82c2-37590cf87744.xml, audio.ksac3_alternate_audio, ksmedia/KSAC3_ALTERNATE_AUDIO, ksmedia/PKSAC3_ALTERNATE_AUDIO
ksmedia.h
Ksmedia.h
Windows
Windows
KSAC3_ALTERNATE_AUDIO, *PKSAC3_ALTERNATE_AUDIO
PKSAC3_ALTERNATE_AUDIO
ksmedia/PKSAC3_ALTERNATE_AUDIO
KSAC3_ALTERNATE_AUDIO
ksmedia/KSAC3_ALTERNATE_AUDIO
APIRef
kbSyntax
HeaderDef
ksmedia.h
PKSAC3_ALTERNATE_AUDIO
KSAC3_ALTERNATE_AUDIO

KSAC3_ALTERNATE_AUDIO structure

-description

The KSAC3_ALTERNATE_AUDIO structure specifies whether the two mono channels in an AC-3-encoded stream should be interpreted as a stereo pair or as two independent program channels.

-struct-fields

-field fStereo

Specifies whether the two mono channels should be interpreted as a stereo pair. If TRUE, the two mono channels are treated as a stereo pair. If FALSE, DualMode=0x03 causes the two mono channels to be mixed before being output by the decoder.

-field DualMode

When two independent channels of audio are encoded in the stream, this member specifies whether to use the audio track in channel 1, channel 2, or both. A value of 0x01 selects channel 1, 0x02 selects channel 2, and 0x03 selects both. Specify the value of this member as one of the following constants:

Constant Value
KSAC3_ALTERNATE_AUDIO_1 0x01
KSAC3_ALTERNATE_AUDIO_2 0x02
KSAC3_ALTERNATE_AUDIO_BOTH 0x03

-remarks

This structure is used by the KSPROPERTY_AC3_ALTERNATE_AUDIO property.

For more information about the encoding of AC-3 program channels, see the AC-3 specification at the Dolby Laboratories website. The specification is titled Digital Audio Compression Standard (AC-3).

-see-also

KSPROPERTY_AC3_ALTERNATE_AUDIO