Jump to content

OBD:SNDD: Difference between revisions

No change in size ,  10 December 2021
m
m (linebreak/whitespace fixes)
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 "4" 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.
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: