Contains a list of 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.
| GUID | Description | Format 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).
| WAVE_FORMAT_MPEG_HEAAC (0x1610) | ||
| MFAudioFormat_ADTS | Not used. | WAVE_FORMAT_MPEG_ADTS_AAC (0x1600) | ||
| 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:
| 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_DRM | Encrypted audio data used with secure audio path. | WAVE_FORMAT_DRM (0x0009) | ||
| MFAudioFormat_DTS | Digital Theater Systems (DTS) audio. | WAVE_FORMAT_DTS (0x0008) | ||
| MFAudioFormat_Float | Uncompressed IEEE floating-point audio. | WAVE_FORMAT_IEEE_FLOAT (0x0003) | ||
| MFAudioFormat_MP3 | MPEG Audio Layer-3 (MP3). | WAVE_FORMAT_MPEGLAYER3 (0x0055) | ||
| MFAudioFormat_MPEG | MPEG-1 audio payload. | WAVE_FORMAT_MPEG (0x0050) | ||
| MFAudioFormat_MSP1 | Windows Media Audio 9 Voice codec. | WAVE_FORMAT_WMAVOICE9 (0x000A) | ||
| MFAudioFormat_PCM | Uncompressed PCM audio. | WAVE_FORMAT_PCM (1) | ||
| MFAudioFormat_QCELP | QCELP (Qualcomm Code Excited Linear Prediction) audio. | None | ||
| MFAudioFormat_WMASPDIF | Windows Media Audio 9 Professional codec over S/PDIF. | WAVE_FORMAT_WMASPDIF (0x0164) | ||
| MFAudioFormat_WMAudio_Lossless | Windows Media Audio 9 Lossless codec or Windows Media Audio 9.1 codec. | WAVE_FORMAT_WMAUDIO_LOSSLESS (0x0163) | ||
| MFAudioFormat_WMAudioV8 | Windows Media Audio 8 codec, Windows Media Audio 9 codec, or Windows Media Audio 9.1 codec. | WAVE_FORMAT_WMAUDIO2 (0x0161) | ||
| MFAudioFormat_WMAudioV9 | Windows 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:
You can use the DEFINE_MEDIATYPE_GUID macro to define a new GUID constant that follows this pattern.