Wave Dictionary: Difference between revisions
Content added Content deleted
(→Layout) |
(→RwaWaveFormat: datatypes) |
||
Line 10: | Line 10: | ||
| 0x00 || uint32_t || <code>0x809</code> || Magic number. |
| 0x00 || uint32_t || <code>0x809</code> || Magic number. |
||
|- |
|- |
||
| 0x04 || uint32_t || || The single byte at 0x04 seems to be |
| 0x04 || uint32_t || || The single byte at 0x04 seems to be a Big Endian bool. |
||
|- |
|- |
||
| 0x08 || uintptr_t || || Pointer to audio data. |
| 0x08 || uintptr_t || || Pointer to audio data. |
||
Line 85: | Line 85: | ||
! Type |
! Type |
||
! Name |
! Name |
||
! Description |
|||
|- |
|- |
||
| 0x00 || uint32_t || sampleRate |
| 0x00 || uint32_t || sampleRate || |
||
|- |
|- |
||
| 0x04 || uint32_t || dataType |
| 0x04 || uint32_t || dataType || 0: Sony PS ADPCM<br>1: Signed 16-bit PCM<br>3: Nintendo DSP ADPCM<br>4: Xbox IMA ADPCM |
||
|- |
|- |
||
| 0x08 || uint32_t || length |
| 0x08 || uint32_t || length || |
||
|- |
|- |
||
| 0x0C || uint8_t || bitDepth |
| 0x0C || uint8_t || bitDepth || |
||
|- |
|- |
||
| 0x0D || uint8_t || noChannels |
| 0x0D || uint8_t || noChannels || |
||
|- |
|- |
||
| 0x10 || void* || miscData |
| 0x10 || void* || miscData || Has a "00: GCN ADPCM Header" chunk which contains Nintendo DSP ADPCM coefficients. |
||
|- |
|- |
||
| 0x14 || uint32_t || miscDataSize |
| 0x14 || uint32_t || miscDataSize || |
||
|- |
|- |
||
| 0x18 || uint8_t || flags |
| 0x18 || uint8_t || flags || |
||
|- |
|- |
||
| 0x19 || uint8_t || reserved |
| 0x19 || uint8_t || reserved || |
||
|- |
|- |
||
|} |
|} |