XMA2WAVEFORMATEX
The recommended way to express the format information for XMA2 files.Syntax
Members
wfxType: WAVEFORMATEX A WAVEFORMATEX structure. NumStreams
Type: WORD Number of audio streams: 1 or 2 channels each. ChannelMask
Type: DWORD Spatial positions of the channels in this file. Refer to the XMA_SPEAKER* macros. SamplesEncoded
Type: DWORD Total number of PCM samples the file decodes to. BytesPerBlock
Type: DWORD XMA block’s size. The last block might be shorter. PlayBegin
Type: DWORD First valid sample in the decoded audio. PlayLength
Type: DWORD Length of the valid part of the decoded audio. LoopBegin
Type: DWORD Beginning of the loop in decoded samples. LoopLength
Type: DWORD Length of the loop in decoded samples. LoopCount
Type: BYTE Number of loop repetitions; 255 = infinite. EncoderVersion
Type: BYTE Version of the XMA encoder that generated the file. BlockCount
Type: WORD Number of XMA blocks in a file, which is also the number of entries in its seek table.
