8#define SOUND_LOAD_STATUS_NOT_LOADED 0
9#define SOUND_LOAD_STATUS_IN_PROGRESS 1
10#define SOUND_LOAD_STATUS_COMPLETE 2
11#define SOUND_LOAD_STATUS_DISCARDABLE 3
12#define SOUND_LOAD_STATUS_4 4
13#define SOUND_LOAD_STATUS_5 5
15#define IS_BANK_LOAD_COMPLETE(bankId) (gBankLoadStatus[bankId] >= SOUND_LOAD_STATUS_COMPLETE)
16#define IS_SEQ_LOAD_COMPLETE(seqId) (gSeqLoadStatus[seqId] >= SOUND_LOAD_STATUS_COMPLETE)
s32 gAudioResetFadeOutFramesLeft
Definition heap.c:42
s16 gTempoInternalToExternal
Definition load.c:53
void * get_bank_or_seq(s32 poolIdx, s32 arg1, s32 id)
Definition heap.c:458
struct PoolSplit sSessionPoolSplit
Definition heap.c:31
s32 gMaxAudioCmds
Definition load.c:51
void * get_bank_or_seq_inner(s32 poolIdx, s32 arg1, s32 bankId)
Definition heap.c:468
s32 audio_shut_down_and_reset_step(void)
Definition heap.c:539
void persistent_pool_clear(struct PersistentPool *persistent)
Definition heap.c:174
struct SoundAllocPool gAudioSessionPool
Definition heap.c:17
void reset_bank_and_seq_load_status(void)
Definition heap.c:96
void persistent_pools_init(struct PoolSplit *a)
Definition heap.c:214
void func_800BA8B0(s32, s32)
Definition heap.c:715
void discard_bank(s32 bankId)
Definition heap.c:117
void * unk_pool1_lookup(s32 poolIdx, s32 id)
Definition heap.c:701
void * soundAlloc(struct SoundAllocPool *pool, u32 size)
Definition heap.c:149
u8 gSeqLoadStatus[256]
Definition heap.c:38
u8 gAudioResetPresetIdToLoad
Definition heap.c:41
struct SoundMultiPool gUnusedLoadedPool
Definition heap.h:146
void discard_sequence(s32 seqId)
Definition heap.c:139
struct SoundAllocPool gPersistentCommonPool
Definition heap.c:22
void sound_init_main_pools(s32)
Definition heap.c:196
void * alloc_bank_or_seq(struct SoundMultiPool *, s32, s32, s32, s32)
Definition heap.c:237
f32 D_803B7178
Definition data.c:321
struct Unk1Pool gUnkPool1
Definition heap.c:29
u32 gSampleDmaNumListItems
Definition load.c:31
void func_800B914C(struct PoolSplit *)
Definition heap.c:202
struct AudioSessionSettingsEU gAudioSessionPresets[]
Definition audio_session_presets.c:13
struct SoundAllocPool gTemporaryCommonPool
Definition heap.c:23
struct NoteSubEu * gNoteSubsEu
Definition heap.c:15
volatile u8 gAudioResetStatus
Definition heap.c:40
s8 gUseReverb
Definition heap.c:13
s16 gVolume
Definition heap.c:12
void seq_and_bank_pool_init(struct PoolSplit2 *a)
Definition heap.c:208
s32 gRefreshRate
Definition data.c:322
struct SoundAllocPool gNotesAndBuffersPool
Definition heap.c:19
void func_800B9BE4(f32, f32, u16 *)
Definition heap.c:512
struct SoundAllocPool gAudioInitPool
Definition heap.c:18
void decrease_reverb_gain(void)
Definition heap.c:532
struct SoundMultiPool gBankLoadedPool
Definition heap.c:26
void func_800B90E0(struct SoundAllocPool *pool)
Definition heap.c:190
void temporary_pool_clear(struct TemporaryPool *temporary)
Definition heap.c:180
struct PoolSplit sTemporaryCommonPoolSplit
Definition heap.c:34
struct Note * gNotes
Definition heap.c:46
void temporary_pools_init(struct PoolSplit *a)
Definition heap.c:226
struct PoolSplit sPersistentCommonPoolSplit
Definition heap.c:33
struct SoundAllocPool gSeqAndBankPool
Definition heap.c:21
void audio_reset_session(void)
Definition heap.c:598
u8 gBankLoadStatus[64]
Definition heap.c:37
struct SoundMultiPool gSeqLoadedPool
Definition heap.c:25
u8 gUnkLoadStatus[64]
Definition heap.c:36
struct PoolSplit2 sSeqAndBankPoolSplit
Definition heap.c:32
s8 gNumSynthesisReverbs
Definition heap.c:14
void sound_alloc_pool_init(struct SoundAllocPool *pool, void *memAddr, u32 size)
Definition heap.c:168
Definition internal.h:502
Definition internal.h:408
Definition internal.h:433
u32 numEntries
Definition heap.h:33
struct SeqOrBankEntry entries[32]
Definition heap.h:35
struct SoundAllocPool pool
Definition heap.h:34
u32 wantTemporary
Definition heap.h:92
u32 wantPersistent
Definition heap.h:91
u32 wantSeq
Definition heap.h:84
u32 wantBank
Definition heap.h:85
u32 wantCustom
Definition heap.h:87
u32 wantUnused
Definition heap.h:86
u32 size
Definition heap.h:27
s16 id
Definition heap.h:29
u8 * ptr
Definition heap.h:26
s16 poolIndex
Definition heap.h:28
s32 numAllocatedEntries
Definition heap.h:22
u32 size
Definition heap.h:21
u8 * start
Definition heap.h:19
u8 * cur
Definition heap.h:20
u32 pad2[4]
Definition heap.h:58
struct TemporaryPool temporary
Definition heap.h:57
struct PersistentPool persistent
Definition heap.h:56
struct SoundAllocPool pool
Definition heap.h:41
struct SeqOrBankEntry entries[2]
Definition heap.h:46
u32 nextSide
Definition heap.h:40
struct SoundAllocPool pool
Definition heap.h:62
struct SeqOrBankEntry entries[32]
Definition heap.h:63
u32 pad
Definition heap.h:70
s8 used
Definition heap.h:67
s8 bankId
Definition heap.h:69
u32 size
Definition heap.h:73
s8 medium
Definition heap.h:68
u8 * srcAddr
Definition heap.h:71
u8 * dstAddr
Definition heap.h:72
s32 numEntries
Definition heap.h:79
struct UnkEntry entries[64]
Definition heap.h:78
struct SoundAllocPool pool
Definition heap.h:77
u32 unk514
Definition heap.h:80
signed int s32
Definition ultratypes.h:15
unsigned int u32
Definition ultratypes.h:16
signed char s8
Definition ultratypes.h:11
signed short int s16
Definition ultratypes.h:13
float f32
Definition ultratypes.h:34
unsigned short int u16
Definition ultratypes.h:14
unsigned char u8
Definition ultratypes.h:12