IAudioMediaType interface (audiomediatype.h)

The IAudioMediaType interface exposes methods that allow an sAPO to get information that is used to negotiate with the audio engine for the appropriate audio data format. An sAPO also returns this interface in response to a call to IAudioSystemEffectsCustomFormats::GetFormat.

IAudioMediaType inherits from IUnknown and also supports the following methods:

IAudioMediaType::GetAudioFormat

IAudioMediaType::GetUncompressedAudioFormat

IAudioMediaType::IsCompressedFormat

IAudioMediaType::IsEqual

Inheritance

The IAudioMediaType interface inherits from the IUnknown interface.

Methods

The IAudioMediaType interface has these methods.

 
IAudioMediaType::GetAudioFormat

The GetAudioFormat method returns the WAVEFORMATEX structure for the audio data format.
IAudioMediaType::GetUncompressedAudioFormat

The IAudioMediaType::GetUncompressedAudioFormat returns information about the audio data format.
IAudioMediaType::IsCompressedFormat

The IsCompressedFormat method determines whether the audio data format is a compressed format.
IAudioMediaType::IsEqual

The IsEqual method compares two media types and determines whether they are identical.

Requirements

Requirement Value
Target Platform Windows
Header audiomediatype.h