5,391
edits
m (linebreak/whitespace fixes)  | 
				m (→IMA ADPCM decoding ("4" flag):  duh)  | 
				||
| Line 351: | Line 351: | ||
===IMA ADPCM decoding ("4" flag)===  | ===IMA ADPCM decoding ("4" flag)===  | ||
If the "4" flag of the SNDD (at 0x08) is ON, then (regardless of the "  | If the "4" flag of the SNDD (at 0x08) is ON, then (regardless of the "8" flag), the .raw data will be interpreted as IMA ADPCM blocks, and the 50-byte format block will be mostly ignored, as well as the ".raw data size" field at 0x40.  | ||
Here is what the .dat part of the above '''SNDDcomguy_dth2''' would have looked like in IMA4 mode:  | Here is what the .dat part of the above '''SNDDcomguy_dth2''' would have looked like in IMA4 mode:  | ||