Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MF_MT_AUDIO_CHANNEL_MASK attribute

In an audio media type, specifies the assignment of audio channels to speaker positions.

Data type

UINT32

The value of this attribute is a bitwise OR of the following flags, which are defined in the header file mmreg.h.

SPEAKER_FRONT_LEFT (0x1)
SPEAKER_FRONT_RIGHT (0x2)
SPEAKER_FRONT_CENTER (0x4)
SPEAKER_LOW_FREQUENCY (0x8)
SPEAKER_BACK_LEFT (0x10)
SPEAKER_BACK_RIGHT (0x20)
SPEAKER_FRONT_LEFT_OF_CENTER (0x40)
SPEAKER_FRONT_RIGHT_OF_CENTER (0x80)
SPEAKER_BACK_CENTER (0x100)
SPEAKER_SIDE_LEFT (0x200)
SPEAKER_SIDE_RIGHT (0x400)
SPEAKER_TOP_CENTER (0x800)
SPEAKER_TOP_FRONT_LEFT (0x1000)
SPEAKER_TOP_FRONT_CENTER (0x2000)
SPEAKER_TOP_FRONT_RIGHT (0x4000)
SPEAKER_TOP_BACK_LEFT (0x8000)
SPEAKER_TOP_BACK_CENTER (0x10000)
SPEAKER_TOP_BACK_RIGHT (0x20000)

Remarks

This attribute corresponds to the dwChannelMask member of the WAVEFORMATEXTENSIBLE structure.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFMediaType
Media Type Attributes

 

 

Show:
© 2016 Microsoft