MFPKEY_WMADEC_SPKRCFG Property

Specifies the speaker configuration on the client computer.

Constant for IPropertyBag

g_wszWMACSpeakerConfig

Data Type

VT_UI4

Default Value

No specific speaker configuration is assumed.

Remarks

You should set this value to one of the constants or values in the following table. The constants are defined in Microsoft DirectSound, and are listed here for convenience. To resolve these constant names for your compiler, you must include dsound.h.

Constant Value Description
DSSPEAKER_DIRECTOUT 0x00000000 The audio is passed through directly, without being configured for speakers.
DSSPEAKER_HEADPHONE 0x00000001 The client computer is equipped with headphones.
DSSPEAKER_MONO 0x00000002 The client computer is equipped with a monoaural speaker.
DSSPEAKER_QUAD 0x00000003 The client computer is equipped with quadraphonic speakers.
DSSPEAKER_STEREO 0x00000004 The client computer is equipped with stereo speakers.
DSSPEAKER_SURROUND 0x00000005 The client computer is equipped with four-channel surround-sound speakers.
DSSPEAKER_5POINT1 0x00000006 The client computer is equipped with five speakers and a subwoofer.
DSSPEAKER_7POINT1 0x00000007 The client computer is equipped with seven speakers and a subwoofer.

 

The value set for this property determines the output formats enumerated by the codec for multichannel audio.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Wmcodecdsp.h

See also

Media Foundation Properties