IMFAudioMediaType interface

[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.

Members

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

Methods

The IMFAudioMediaType interface has these methods.

MethodDescription
GetAudioFormat

Returns a pointer to a WAVEFORMATEX structure that describes the audio format.

 

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Mfobjects.h (include Mfidl.h)

Library

Mfuuid.lib

See also

IMFMediaType
Media Foundation Interfaces
Media Type Attributes
Media Types

 

 

Show: