coastline 0.0.4
Loading...
Searching...
No Matches
soundsample.h File Reference
#include <stdint.h>
Include dependency graph for soundsample.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  SoundChannelSlot
 A channel word before and after sound buffers load. More...
struct  SoundSample
 The loaded buffers and frequency multiplier of one sound sample. More...

Macros

#define SOUND_CHANNEL_COUNT   15
 The number of sound channels.
#define SOUND_SAMPLE_COUNT   26
 The number of sound sample rows, including variant rows.
#define g_SfxWaveVariantTable   (g_aSoundChannelBuffers[24].channelBuffers)
 Sound buffers loaded from h.wav variants.
#define g_LoopingSoundTable   (g_aSoundChannelBuffers[25].channelBuffers)
 Sound buffers loaded from r.wav variants.

Variables

SoundSample g_aSoundChannelBuffers [SOUND_SAMPLE_COUNT]
 Initial channel words become buffer pointers when samples load.

Macro Definition Documentation

◆ SOUND_CHANNEL_COUNT

#define SOUND_CHANNEL_COUNT   15

The number of sound channels.

◆ SOUND_SAMPLE_COUNT

#define SOUND_SAMPLE_COUNT   26

The number of sound sample rows, including variant rows.

◆ g_SfxWaveVariantTable

#define g_SfxWaveVariantTable   (g_aSoundChannelBuffers[24].channelBuffers)

Sound buffers loaded from h.wav variants.

Ghidra address:
BRD3D: 0x100b64b0
Ghidra address:
BRGlide: 0x100b5cb8

◆ g_LoopingSoundTable

#define g_LoopingSoundTable   (g_aSoundChannelBuffers[25].channelBuffers)

Sound buffers loaded from r.wav variants.

Ghidra address:
BRD3D: 0x100b64f8
Ghidra address:
BRGlide: 0x100b5d00

Variable Documentation

◆ g_aSoundChannelBuffers

SoundSample g_aSoundChannelBuffers[SOUND_SAMPLE_COUNT]
extern

Initial channel words become buffer pointers when samples load.

Ghidra address:
BRD3D: 0x100b5df0
Ghidra address:
BRGlide: 0x100b55f8