XMASTREAMFORMAT
Used in XMAWAVEFORMAT for per-stream data.Syntax
Members
PsuedoBytesPerSecType: DWORD Used by the XBOX Media Audio (XMA) encoder. The typo is preserved for legacy reasons. SampleRate
Type: DWORD The stream’s decoded sample rate. In XMA2 files, this is the same for all streams in the file. LoopStart
Type: DWORD Bit offset of the frame that contains the loop start, relative to the beginning of the stream. LoopEnd
Type: DWORD Bit offset of the frame that contains the loop end. SubframeData
Type: BYTE The two four-bit numbers that specify the exact location of the loop points within the frames that contain them.
- SubframeEnd: subframe of the loop end frame where the loop ends. Ranges from 0 to 3.
- SubframeSkip: subframes to skip in the start frame to reach the loop. Ranges from 0 to 4.
Type: BYTE Number of channels in the stream: 1 or 2. ChannelMask
Type: WORD Spatial positions of the channels in the stream.
Remarks
This is a legacy XMA format structure. The information provided should be used for reference only and not be used in new content.
XMAWAVEFORMAT was the structure used in XMA version 1 files. XMA2WAVEFORMAT was used in early XMA2 files. It is not placed in the usual fmt RIFF chunk but in its own XMA2 chunk. For more information about XMA2, see Overview of XMA2. For an overview of the audio architecture of XBOX One, see The sound of the future: The audio architecture in XBOX One.
