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.
The IMFAudioMediaType interface inherits from IMFMediaType. IMFAudioMediaType also has these types of members:
The IMFAudioMediaType interface has these methods.
IMFAudioMediaType::GetAudioFormat GetAudioFormat is no longer available for use as of Windows 7. |
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.
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) |