Line 94:
Line 94:
The length of each block is defined by entry 0x0020 in AST header.<br>
The length of each block is defined by entry 0x0020 in AST header.<br>
−
WARNING: The PCM16 data is stored in BIG-ENDIAN! Don't forget to byteswap each sample you read or your sound will be pure junk!<br>
+
WARNING: The PCM16 data is stored in BIG-ENDIAN! If you aren't working on the Wii, don't forget to byteswap each sample you read or your sound will be pure junk!<br>
Note: there's sound data for one channel only. Stereo mixing is performed by the Wii's DSP.
Note: there's sound data for one channel only. Stereo mixing is performed by the Wii's DSP.