5,389
edits
m (→IMA ADPCM decoding ("4" flag): sigh) |
m (→IMA ADPCM decoding ("4" flag): -_-) |
||
Line 396: | Line 396: | ||
}} | }} | ||
|} | |} | ||
:The channel count field in the 50-byte "format" block (at | :The channel count field in the 50-byte "format" block (at 0x0E) is used in the same way as for a WAVE-like header. | ||
:The "block alignment" field (at 0x18) is used (somewhat counterintuitively) to store the number of IMA4 "packets": | :The "block alignment" field (at 0x18) is used (somewhat counterintuitively) to store the number of IMA4 "packets": | ||
:*for a mono IMA4 sound, packets are 34-byte blocks carrying 64 mono samples each (two bytes of header data and 64 "nibbles", or half-bytes); | :*for a mono IMA4 sound, packets are 34-byte blocks carrying 64 mono samples each (two bytes of header data and 64 "nibbles", or half-bytes); |