Alchemy
Loading...
Searching...
No Matches

SongEntry Struct Reference

An entry of the song table: a song's header and the player table entry that plays it. More...

#include <sound/audio_engine_types.h>

Data Fields

const struct SequenceHeader * header
u16 slot
 Index into gSound_PlayerSlots; AudioCommand_Play gives slot 7's songs the first player from 7 down to 4 with no active track, else 7.
u16 unk06
 The same value as slot in every entry; not named by TBS code.

Detailed Description

An entry of the song table: a song's header and the player table entry that plays it.

Definition at line 450 of file audio_engine_types.h.

Field Documentation

◆ header

◆ slot

u16 SongEntry::slot

Index into gSound_PlayerSlots; AudioCommand_Play gives slot 7's songs the first player from 7 down to 4 with no active track, else 7.

Definition at line 454 of file audio_engine_types.h.

Referenced by Audio_PlayOrResumeSound(), Audio_PlaySound(), Audio_PlaySoundIfInactive(), Audio_ResumeSound(), Audio_StopSound(), and AudioCommand_Play().

◆ unk06

u16 SongEntry::unk06

The same value as slot in every entry; not named by TBS code.

Definition at line 455 of file audio_engine_types.h.