Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
playback.h
Go to the documentation of this file.
1 #ifndef _AUDIO_PLAYBACK_H
2 #define _AUDIO_PLAYBACK_H
3 
4 #include "internal.h"
5 
6 // Mask bits denoting where to allocate notes from, according to a channel's
7 // noteAllocPolicy. Despite being checked as bitmask bits, the bits are not
8 // orthogonal; rather, the smallest bit wins, except for NOTE_ALLOC_LAYER,
9 // which *is* orthogonal to the other. SEQ implicitly includes CHANNEL.
10 // If none of the CHANNEL/SEQ/GLOBAL_FREELIST bits are set, all three locations
11 // are tried.
12 #define NOTE_ALLOC_LAYER 1
13 #define NOTE_ALLOC_CHANNEL 2
14 #define NOTE_ALLOC_SEQ 4
15 #define NOTE_ALLOC_GLOBAL_FREELIST 8
16 
17 void func_80318908(void);
20 void func_80319164(struct Note *note, struct SequenceChannelLayer *seqLayer);
21 void init_note_lists(struct NotePool *pool);
22 void init_note_free_list(void);
23 void note_pool_clear(struct NotePool *pool);
24 void note_pool_fill(struct NotePool *pool, s32 count);
25 void audio_list_push_front(struct AudioListItem *list, struct AudioListItem *item);
26 void audio_list_remove(struct AudioListItem *item);
27 struct Note *alloc_note(struct SequenceChannelLayer *seqLayer);
28 void func_80319BC8(void);
29 void note_init_all(void);
30 
31 
32 #endif /* _AUDIO_PLAYBACK_H */
void audio_list_remove(struct AudioListItem *item)
Definition: playback.c:379
void note_pool_fill(struct NotePool *pool, s32 count)
Definition: playback.c:322
Definition: internal.h:337
void note_init_all(void)
Definition: playback.c:576
void init_note_free_list(void)
Definition: playback.c:269
Definition: internal.h:71
void func_80319164(struct Note *note, struct SequenceChannelLayer *seqLayer)
Definition: playback.c:242
void seq_channel_layer_note_decay(struct SequenceChannelLayer *seqLayer)
Definition: playback.c:178
Definition: internal.h:303
void func_80318908(void)
Definition: playback.c:29
void note_pool_clear(struct NotePool *pool)
Definition: playback.c:280
corresponding parameters shall have compatible types If one type has a parameter type list and the other type is specified by a function declarator that is not part of a function definition and contains an empty identifier list
Definition: err.english.cc:617
void init_note_lists(struct NotePool *pool)
Definition: playback.c:258
void seq_channel_layer_note_release(struct SequenceChannelLayer *seqLayer)
Definition: playback.c:182
signed int s32
Definition: ultratypes.h:15
void func_80319BC8(void)
Definition: playback.c:539
void audio_list_push_front(struct AudioListItem *list, struct AudioListItem *item)
Definition: playback.c:367
Definition: internal.h:53
struct Note * alloc_note(struct SequenceChannelLayer *seqLayer)
Definition: playback.c:477