Wave Dictionary: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 4:
{| class="wikitable" style=text-align:left
! Offset
! Type
! Value
! Description
|-
| 0x00 || uint32_t || 0x809 || Magic number.
|-
|-
| 0x08 || uint32_t || || Container size.
▲{{ MemoryLocationTableRow | name= | offset=0x04 | value= | type=uintptr_t | description=Pointer to location in system memory. Usually <code>nullptr</code>. }}
|-
|-
|-
| 0x14 || uint32_t || || Audio data size.
▲{{ MemoryLocationTableRow | name= | offset=0x10 | value= | type=UInt32 | description=If value at <code>0x04</code> is non-zero then this will be, too. }}
|-
| 0x18 || RwaUUID || 73F2018B 75DFF081 4BC8E45F 453A2D04 (Xbox)<br>5393C7DB EA6481AE 4917FC38 AAEAC9AC (PS2) || Platform UUID.
|-
| 0x28 || uint32_t || || Audio data position.
|-
| 0x2C || [[Wave Dictionary#RwaWaveDict|RwaWaveDict]] || || Wave Dictionary
|-
|}
== RwaWaveDict ==
<syntaxhighlight lang="cpp">
class RwaWaveDict
{
RwaUniqueID uniqueID;
RwaLLNode waveListHead;
// uint16_t pad;
int8_t flagsAux;
int8_t flags;
RwLLLink link;
void* dumpAddr;
void* waveRAMHandle;
uint32_t waveRAMSize;
};
</syntaxhighlight>
== RwaWave ==
|