1#ifndef AUDIO_PLAYBACK_H
2#define AUDIO_PLAYBACK_H
4#include <libultra/types.h>
14#define NOTE_ALLOC_LAYER 1
15#define NOTE_ALLOC_CHANNEL 2
16#define NOTE_ALLOC_SEQ 4
17#define NOTE_ALLOC_GLOBAL_FREELIST 8
void audio_list_remove(struct AudioListItem *item)
Definition playback.c:591
void note_init_for_layer(struct Note *note, struct SequenceChannelLayer *seqLayer)
Definition playback.c:628
void note_set_vel_pan_reverb(struct Note *note, f32 velocity, u8 pan, u8 reverbVol)
Definition playback.c:14
struct Drum * get_drum(s32 bankId, s32 drumId)
Definition playback.c:164
void init_synthetic_wave(struct Note *note, struct SequenceChannelLayer *seqLayer)
Definition playback.c:443
void seq_channel_layer_note_decay(struct SequenceChannelLayer *seqLayer)
Definition playback.c:397
void process_notes(void)
Definition playback.c:216
void seq_channel_layer_decay_release_internal(struct SequenceChannelLayer *seqLayer, s32 target)
Definition playback.c:339
struct Note * pop_node_with_lower_prio(struct AudioListItem *list, s32 limit)
Definition playback.c:602
void note_init(struct Note *note)
Definition playback.c:193
void note_pool_fill(struct NotePool *pool, s32 count)
Definition playback.c:529
void note_release_and_take_ownership(struct Note *note, struct SequenceChannelLayer *seqLayer)
Definition playback.c:668
void note_set_resampling_rate(struct Note *note, f32 resamplingRateInput)
Definition playback.c:98
struct Note * alloc_note(struct SequenceChannelLayer *seqLayer)
Definition playback.c:708
void note_init_all(void)
Definition playback.c:774
void audio_list_push_front(struct AudioListItem *list, struct AudioListItem *item)
Definition playback.c:577
void note_disable(struct Note *note)
Definition playback.c:203
void note_pool_clear(struct NotePool *pool)
Definition playback.c:484
struct Note * alloc_note_from_decaying(struct NotePool *pool, struct SequenceChannelLayer *seqLayer)
Definition playback.c:684
void init_note_free_list(void)
Definition playback.c:473
void init_note_lists(struct NotePool *pool)
Definition playback.c:462
s32 build_synthetic_wave(struct Note *note, struct SequenceChannelLayer *seqLayer, s32 waveId)
Definition playback.c:407
struct AudioBankSound * instrument_get_audio_bank_sound(struct Instrument *instrument, s32 semitone)
Definition playback.c:126
struct Note * alloc_note_from_disabled(struct NotePool *pool, struct SequenceChannelLayer *seqLayer)
Definition playback.c:675
void func_800BD8F4(struct Note *note, struct SequenceChannelLayer *seqLayer)
Definition playback.c:663
struct Note * alloc_note_from_active(struct NotePool *pool, struct SequenceChannelLayer *seqLayer)
Definition playback.c:693
void seq_channel_layer_note_release(struct SequenceChannelLayer *seqLayer)
Definition playback.c:401
struct Instrument * get_instrument_inner(s32 bankId, s32 instId)
Definition playback.c:138
void init_note_list(struct AudioListItem *list)
Definition playback.c:456
Definition internal.h:143
Definition internal.h:159
Definition internal.h:148
Definition internal.h:436
Definition internal.h:345