Wave Dictionary

From Burnout Wiki
Revision as of 21:12, 4 January 2021 by Escape209 (talk | contribs) (Link to RwaWaveFormat section)

The RenderWare Audio Wave Dictionary container format is used to store a collection of audio files. It uses the file extension .awd.

Layout

Template:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRow
Offset Name Type Value Description
Header
Wave Dictionary

RwaWave

Each wave is of type RwaWave, stored in a RwLLNode in the RwLinkList. In the AWD are of type , and are serialized as below:

Template:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRowTemplate:MemoryLocationTableRow
Offset Name Type Value Description

This is followed by the RwaLLNode, the entry (of type char[]) and a 128-bit UUID.

RwaWaveFormat

struct RwaWaveFormat {
    RwUInt32 sampleRate;
    RwaUUID* dataType;
    RwUInt32 length;
    RwUInt8 bitDepth;
    RwUInt8 noChannels;
    unsigned char pad[2];
    void* miscData;
    RwUInt8 miscDataSize;
    RwUInt8 flags;
    RwUInt8 reserved;
};