MFPKEY_WMADEC_HIRESOUTPUT Property

Specifies whether the audio decoder should deliver high-resolution output.

Constant for IPropertyBag

g_wszWMACHiResOutput

Data Type

VT_BOOL

Default Value

VARIANT_FALSE

Remarks

Set this property to VARIANT_TRUE to decode multichannel or 24-bit audio content, or audio with a sample rate greater than 48,000 Hz. If the content is encoded in high resolution, but this property is VARIANT_FALSE, the following behaviors apply:

  • The DMO output will be limited to 16-bit, 48-KHz stereo.
  • The MFT will enumerate output modes that are limited to 16 bits and do not involve changes in channel count or sampling rate.

The properties of high-resolution audio are passed in a WAVEFORMATEXTENSIBLE structure, not WAVEFORMATEX.

High-resolution output is available only if the decoder is running on Windows XP or later. You can set this property regardless of the operating system on which your application is running. On versions of Windows earlier than Windows XP, the decoder will ignore this setting and deliver standard output.

Many players (including Windows Media Player 9 Series and later) set this value for all content.

Requirements

Requirement Value
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