coastline 0.0.4
Loading...
Searching...
No Matches
SoundEffect Struct Reference

A sound effect of a race, as LoadAllSoundEffects() loads it. More...

#include <soundeffect.h>

Public Attributes

s8 * sample
u32 romStart
u32 romEnd
u32 length
u32 loopLength
u32 guardLength

Detailed Description

A sound effect of a race, as LoadAllSoundEffects() loads it.

Member Data Documentation

◆ sample

s8* SoundEffect::sample

The samples, signed 8-bit, followed by guardLength samples of its start.

◆ romStart

u32 SoundEffect::romStart

The cartridge address of the compressed sound.

◆ romEnd

u32 SoundEffect::romEnd

The cartridge address of the end of the compressed sound.

◆ length

u32 SoundEffect::length

The samples of the decompressed sound, one byte each.

◆ loopLength

u32 SoundEffect::loopLength

The samples a loop repeats, or -1 for the whole sound.

◆ guardLength

u32 SoundEffect::guardLength

The samples of the start copied after the end, or -1 for the whole sound.


The documentation for this struct was generated from the following file: