IMFAudioMediaType interface (mfobjects.h)

[IMFAudioMediaType is no longer available for use as of Windows 7. Instead, use the media type attributes to get the properties of the audio format.]

Represents a description of an audio format.

Inheritance

The IMFAudioMediaType interface inherits from IMFMediaType. IMFAudioMediaType also has these types of members:

Methods

The IMFAudioMediaType interface has these methods.

 
IMFAudioMediaType::GetAudioFormat

GetAudioFormat is no longer available for use as of Windows 7.

Remarks

Windows Server 2008 and Windows Vista:  If the major type of a media type is MFMediaType_Audio, you can query the media type object for the IMFAudioMediaType interface.

To convert an audio media type into a WAVEFORMATEX structure, call MFCreateWaveFormatExFromMFMediaType.

This interface is available on the following platforms if the Windows Media Format 11 SDK redistributable components are installed:

  • Windows XP with Service Pack 2 (SP2) and later.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (October 2006 Update Rollup for Windows XP Media Center Edition) installed.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See also

IMFMediaType

Media Foundation Interfaces

Media Type Attributes

Media Types