Jump to content

OBD:SNDD/wav: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:




Oni uses in the PC version the ADPCM wav format. The header of this format is explained below.
Oni PC sound data uses an [http://msdn.microsoft.com/en-us/library/cc677007(VS.85,loband).aspx ADPCMWAVEFORMAT] header.




Line 10: Line 10:
{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtr| 0x08 | int32    |FFC8C8| 08 00 00 00 | 8    | size of the following complete header part in bytes; (it seems that Oni uses only the following first 8 bytes, though the complete size of the header is 50 bytes) }}
{{OBDtr| 0x0C | int16    |FFFFC8| 02 00      | 2    | format ID (2 <nowiki>=</nowiki> ADPCM format) }}
{{OBDtr| 0x0C | int16    |FFFFC8| 02 00      | 2    | format ID (2 <nowiki>=</nowiki> ADPCM format) }}
{{OBDtr| 0x0E | int16    |C8FFC8| 01 00      | 1    | number of channels (1 <nowiki>=</nowiki> mono) }}
{{OBDtr| 0x0E | int16    |C8FFC8| 01 00      | 1    | number of channels (1 <nowiki>=</nowiki> mono) }}
708

edits