Export (0) Print
Expand All

Audio Subtype GUIDs

The following audio subtype GUIDs are defined. To specify the subtype, set the MF_MT_SUBTYPE attribute on the media type. Except where noted, these constants are defined in the header file mfapi.h.

When these subtypes are used, set the MF_MT_MAJOR_TYPE attribute to MFMediaType_Audio.

GUIDDescriptionFormat Tag (FOURCC)
MEDIASUBTYPE_RAW_AAC1

Advanced Audio Coding (AAC).

This subtype is used for AAC contained in an AVI file with an audio format tag equal to 0x00FF.

For more information, see AAC Decoder.

Defined in wmcodecdsp.h

WAVE_FORMAT_RAW_AAC1 (0x00FF)
MFAudioFormat_AAC

Advanced Audio Coding (AAC).

Note  Equivalent to MEDIASUBTYPE_MPEG_HEAAC, defined in wmcodecdsp.h.

The stream can contain raw AAC data or AAC data in an Audio Data Transport Stream (ADTS) stream.

For more information, see:

WAVE_FORMAT_MPEG_HEAAC (0x1610)
MFAudioFormat_ADTSNot used.WAVE_FORMAT_MPEG_ADTS_AAC (0x1600)
MFAudioFormat_AMR_NB

Adaptative Multi-Rate audio

Supported in Windows 8.1 and later.

WAVE_FORMAT_AMR_NB
MFAudioFormat_AMR_WB

Adaptative Multi-Rate Wideband audio

Supported in Windows 8.1 and later.

WAVE_FORMAT_AMR_WB
MFAudioFormat_AMR_WP

Supported in Windows 8.1 and later.

WAVE_FORMAT_AMR_WP
MFAudioFormat_Dolby_AC3

Dolby Digital (AC-3).

Same GUID value as MEDIASUBTYPE_DOLBY_AC3, which is defined in ksuuids.h

None.
MFAudioFormat_Dolby_AC3_SPDIF

Dolby AC-3 audio over Sony/Philips Digital Interface (S/PDIF).

This GUID value is identical to the following subtypes:

  • KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_DIGITAL, defined in ksmedia.h.
  • MEDIASUBTYPE_DOLBY_AC3_SPDIF, defined in uuids.h.
WAVE_FORMAT_DOLBY_AC3_SPDIF (0x0092)
MFAudioFormat_Dolby_DDPlus

Dolby Digital Plus.

Same GUID value as MEDIASUBTYPE_DOLBY_DDPLUS, which is defined in wmcodecdsp.h.

None
MFAudioFormat_DRMEncrypted audio data used with secure audio path.WAVE_FORMAT_DRM (0x0009)
MFAudioFormat_DTSDigital Theater Systems (DTS) audio.WAVE_FORMAT_DTS (0x0008)
MFAudioFormat_FloatUncompressed IEEE floating-point audio.WAVE_FORMAT_IEEE_FLOAT (0x0003)
MFAudioFormat_MP3MPEG Audio Layer-3 (MP3).WAVE_FORMAT_MPEGLAYER3 (0x0055)
MFAudioFormat_MPEGMPEG-1 audio payload.WAVE_FORMAT_MPEG (0x0050)
MFAudioFormat_MSP1Windows Media Audio 9 Voice codec.WAVE_FORMAT_WMAVOICE9 (0x000A)
MFAudioFormat_PCMUncompressed PCM audio.WAVE_FORMAT_PCM (1)
MFAudioFormat_QCELPQCELP (Qualcomm Code Excited Linear Prediction) audio.None
MFAudioFormat_WMASPDIFWindows Media Audio 9 Professional codec over S/PDIF.WAVE_FORMAT_WMASPDIF (0x0164)
MFAudioFormat_WMAudio_LosslessWindows Media Audio 9 Lossless codec or Windows Media Audio 9.1 codec.WAVE_FORMAT_WMAUDIO_LOSSLESS (0x0163)
MFAudioFormat_WMAudioV8Windows Media Audio 8 codec, Windows Media Audio 9 codec, or Windows Media Audio 9.1 codec.WAVE_FORMAT_WMAUDIO2 (0x0161)
MFAudioFormat_WMAudioV9Windows Media Audio 9 Professional codec or Windows Media Audio 9.1 Professional codec.WAVE_FORMAT_WMAUDIO3 (0x0162)

 

The format tags listed in the third column of this table are used in the WAVEFORMATEX structure, and are defined in the header file mmreg.h.

Given an audio format tag, you can create an audio subtype GUID as follows:

  1. Start with the value MFAudioFormat_Base, which is defined in mfaph.i.
  2. Replace the first DWORD of this GUID with the format tag.

You can use the DEFINE_MEDIATYPE_GUID macro to define a new GUID constant that follows this pattern.

Related topics

Audio Media Types
IMFMediaType
Media Type GUIDs
Media Types

 

 

Community Additions

ADD
Show:
© 2014 Microsoft