WaveFormat Encoding

Dec 10, 2012 at 9:03 AM

I stumbled upon a type not listed Encoding. (0x1610) (file m4a)

So I added a few types WaveformatEncoding

I'll see if I can add HEAACWAVEFORMAT (if necessary)

 

/// <summary>
		/// Advanced Audio Coding (AAC) audio in Audio Data Transport Stream (ADTS) format.
		/// The format block is a WAVEFORMATEX structure with wFormatTag equal to WAVE_FORMAT_MPEG_ADTS_AAC.
		/// </summary>
		/// <remarks>
		/// The WAVEFORMATEX structure specifies the core AAC-LC sample rate and number of channels, 
		/// prior to applying spectral band replication (SBR) or parametric stereo (PS) tools, if present.
		/// No additional data is required after the WAVEFORMATEX structure.
		/// </remarks>
		/// <see>http://msdn.microsoft.com/en-us/library/dd317599%28VS.85%29.aspx</see>
		MPEG_ADTS_AAC = 0x1600,

		/// <summary></summary>
		/// <remarks>Source wmCodec.h</remarks>
		MPEG_RAW_AAC = 0x1601,

		/// <summary>
		/// MPEG-4 audio transport stream with a synchronization layer (LOAS) and a multiplex layer (LATM).
		/// The format block is a WAVEFORMATEX structure with wFormatTag equal to WAVE_FORMAT_MPEG_LOAS.
		/// </summary>
		/// <remarks>
		/// The WAVEFORMATEX structure specifies the core AAC-LC sample rate and number of channels, 
		/// prior to applying spectral SBR or PS tools, if present.
		/// No additional data is required after the WAVEFORMATEX structure.
		/// </remarks>
		/// <see>http://msdn.microsoft.com/en-us/library/dd317599%28VS.85%29.aspx</see>
		MPEG_LOAS = 0x1602,

		/// <summary></summary>
		/// <remarks>Source wmCodec.h</remarks>
		NOKIA_MPEG_ADTS_AAC = 0x1608,

		/// <summary></summary>
		/// <remarks>Source wmCodec.h</remarks>
		NOKIA_MPEG_RAW_AAC = 0x1609,

		/// <summary></summary>
		/// <remarks>Source wmCodec.h</remarks>
		VODAFONE_MPEG_ADTS_AAC = 0x160A,

		/// <summary></summary>
		/// <remarks>Source wmCodec.h</remarks>
		VODAFONE_MPEG_RAW_AAC = 0x160B,

		/// <summary>
		/// High-Efficiency Advanced Audio Coding (HE-AAC) stream.
		/// The format block is an HEAACWAVEFORMAT structure.
		/// </summary>
		/// <see>http://msdn.microsoft.com/en-us/library/dd317599%28VS.85%29.aspx</see>
		MPEG_HEAAC = 0x1610,

Coordinator
Dec 10, 2012 at 1:38 PM

thanks, WAVEFORMAT encodings will matter a lot less in the future since MediaFoundation uses MediaTypes not WaveFormat for everything, but it is still handy to have a good guide to what the possible options are.

Mark