Mario Kart 64
Loading...
Searching...
No Matches
playback.h File Reference
#include <PR/ultratypes.h>
#include "internal.h"
Include dependency graph for playback.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NOTE_ALLOC_LAYER   1
 
#define NOTE_ALLOC_CHANNEL   2
 
#define NOTE_ALLOC_SEQ   4
 
#define NOTE_ALLOC_GLOBAL_FREELIST   8
 

Functions

void note_set_vel_pan_reverb (struct Note *note, f32 velocity, u8 pan, u8 reverbVol)
 
void note_set_resampling_rate (struct Note *note, f32 resamplingRateInput)
 
s32 build_synthetic_wave (struct Note *note, struct SequenceChannelLayer *seqLayer, s32 waveId)
 
void init_synthetic_wave (struct Note *note, struct SequenceChannelLayer *seqLayer)
 
void init_note_list (struct AudioListItem *list)
 
void init_note_lists (struct NotePool *pool)
 
void init_note_free_list (void)
 
void note_pool_clear (struct NotePool *pool)
 
void note_pool_fill (struct NotePool *pool, s32 count)
 
void audio_list_push_front (struct AudioListItem *list, struct AudioListItem *item)
 
void audio_list_remove (struct AudioListItem *item)
 
struct Notepop_node_with_lower_prio (struct AudioListItem *list, s32 limit)
 
void note_init_for_layer (struct Note *note, struct SequenceChannelLayer *seqLayer)
 
void note_disable (struct Note *note)
 
void process_notes (void)
 
struct AudioBankSoundinstrument_get_audio_bank_sound (struct Instrument *instrument, s32 semitone)
 
struct Instrumentget_instrument_inner (s32 bankId, s32 instId)
 
struct Drumget_drum (s32 bankId, s32 drumId)
 
void note_init (struct Note *note)
 
void seq_channel_layer_decay_release_internal (struct SequenceChannelLayer *seqLayer, s32 target)
 
void seq_channel_layer_note_decay (struct SequenceChannelLayer *seqLayer)
 
void seq_channel_layer_note_release (struct SequenceChannelLayer *seqLayer)
 
void func_800BD8F4 (struct Note *note, struct SequenceChannelLayer *seqLayer)
 
void note_release_and_take_ownership (struct Note *note, struct SequenceChannelLayer *seqLayer)
 
struct Notealloc_note_from_disabled (struct NotePool *pool, struct SequenceChannelLayer *seqLayer)
 
struct Notealloc_note_from_decaying (struct NotePool *pool, struct SequenceChannelLayer *seqLayer)
 
struct Notealloc_note_from_active (struct NotePool *pool, struct SequenceChannelLayer *seqLayer)
 
struct Notealloc_note (struct SequenceChannelLayer *seqLayer)
 
void note_init_all (void)
 

Macro Definition Documentation

◆ NOTE_ALLOC_CHANNEL

#define NOTE_ALLOC_CHANNEL   2

◆ NOTE_ALLOC_GLOBAL_FREELIST

#define NOTE_ALLOC_GLOBAL_FREELIST   8

◆ NOTE_ALLOC_LAYER

#define NOTE_ALLOC_LAYER   1

◆ NOTE_ALLOC_SEQ

#define NOTE_ALLOC_SEQ   4

Function Documentation

◆ alloc_note()

struct Note * alloc_note ( struct SequenceChannelLayer * seqLayer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ alloc_note_from_active()

struct Note * alloc_note_from_active ( struct NotePool * pool,
struct SequenceChannelLayer * seqLayer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ alloc_note_from_decaying()

struct Note * alloc_note_from_decaying ( struct NotePool * pool,
struct SequenceChannelLayer * seqLayer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ alloc_note_from_disabled()

struct Note * alloc_note_from_disabled ( struct NotePool * pool,
struct SequenceChannelLayer * seqLayer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_list_push_front()

void audio_list_push_front ( struct AudioListItem * list,
struct AudioListItem * item )
Here is the caller graph for this function:

◆ audio_list_remove()

void audio_list_remove ( struct AudioListItem * item)
Here is the caller graph for this function:

◆ build_synthetic_wave()

s32 build_synthetic_wave ( struct Note * note,
struct SequenceChannelLayer * seqLayer,
s32 waveId )
Here is the caller graph for this function:

◆ func_800BD8F4()

void func_800BD8F4 ( struct Note * note,
struct SequenceChannelLayer * seqLayer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_drum()

struct Drum * get_drum ( s32 bankId,
s32 drumId )
Here is the caller graph for this function:

◆ get_instrument_inner()

struct Instrument * get_instrument_inner ( s32 bankId,
s32 instId )
Here is the caller graph for this function:

◆ init_note_free_list()

void init_note_free_list ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_note_list()

void init_note_list ( struct AudioListItem * list)
Here is the caller graph for this function:

◆ init_note_lists()

void init_note_lists ( struct NotePool * pool)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_synthetic_wave()

void init_synthetic_wave ( struct Note * note,
struct SequenceChannelLayer * seqLayer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ instrument_get_audio_bank_sound()

struct AudioBankSound * instrument_get_audio_bank_sound ( struct Instrument * instrument,
s32 semitone )
Here is the caller graph for this function:

◆ note_disable()

void note_disable ( struct Note * note)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ note_init()

void note_init ( struct Note * note)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ note_init_all()

void note_init_all ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ note_init_for_layer()

void note_init_for_layer ( struct Note * note,
struct SequenceChannelLayer * seqLayer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ note_pool_clear()

void note_pool_clear ( struct NotePool * pool)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ note_pool_fill()

void note_pool_fill ( struct NotePool * pool,
s32 count )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ note_release_and_take_ownership()

void note_release_and_take_ownership ( struct Note * note,
struct SequenceChannelLayer * seqLayer )
Here is the caller graph for this function:

◆ note_set_resampling_rate()

void note_set_resampling_rate ( struct Note * note,
f32 resamplingRateInput )
Here is the caller graph for this function:

◆ note_set_vel_pan_reverb()

void note_set_vel_pan_reverb ( struct Note * note,
f32 velocity,
u8 pan,
u8 reverbVol )
Bug
for the change to UQ0.7, the if statement should also have been changed accordingly
Here is the caller graph for this function:

◆ pop_node_with_lower_prio()

struct Note * pop_node_with_lower_prio ( struct AudioListItem * list,
s32 limit )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_notes()

void process_notes ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ seq_channel_layer_decay_release_internal()

void seq_channel_layer_decay_release_internal ( struct SequenceChannelLayer * seqLayer,
s32 target )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ seq_channel_layer_note_decay()

void seq_channel_layer_note_decay ( struct SequenceChannelLayer * seqLayer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ seq_channel_layer_note_release()

void seq_channel_layer_note_release ( struct SequenceChannelLayer * seqLayer)
Here is the call graph for this function:
Here is the caller graph for this function: