SSBM Decomp
Loading...
Searching...
No Matches
syn.h File Reference
#include <dolphin/ax.h>

Go to the source code of this file.

Data Structures

struct  WTINST
struct  WTREGION
struct  WTART
struct  WTSAMPLE
struct  WTADPCM
struct  SYNSYNTH
struct  SYNVOICE

Macros

#define SYN_INPUT_BUFFER_SIZE   0x100
#define SYN_SAMPLE_FORMAT_ADPCM   0
#define SYN_SAMPLE_FORMAT_PCM16   1
#define SYN_SAMPLE_FORMAT_PCM8   2

Functions

void SYNInit ()
void SYNQuit ()
void SYNRunAudioFrame ()
void SYNInitSynth (struct SYNSYNTH *synth, void *wavetable, u32 aramBase, u32 priorityVoiceAlloc, u32 priorityNoteOn, u32 priorityNoteRelease)
void SYNQuitSynth (struct SYNSYNTH *synth)
void SYNMidiInput (struct SYNSYNTH *synth, u8 *input)
void SYNSetMasterVolume (struct SYNSYNTH *synth, long dB)
long SYNGetMasterVolume (struct SYNSYNTH *synth)
u32 SYNGetActiveNotes (struct SYNSYNTH *synth)
u8 SYNGetMidiController (struct SYNSYNTH *synth, u8 midiChannel, u8 function)

Macro Definition Documentation

◆ SYN_INPUT_BUFFER_SIZE

#define SYN_INPUT_BUFFER_SIZE   0x100

◆ SYN_SAMPLE_FORMAT_ADPCM

#define SYN_SAMPLE_FORMAT_ADPCM   0

◆ SYN_SAMPLE_FORMAT_PCM16

#define SYN_SAMPLE_FORMAT_PCM16   1

◆ SYN_SAMPLE_FORMAT_PCM8

#define SYN_SAMPLE_FORMAT_PCM8   2

Function Documentation

◆ SYNInit()

void SYNInit ( )

◆ SYNQuit()

void SYNQuit ( )

◆ SYNRunAudioFrame()

void SYNRunAudioFrame ( )

◆ SYNInitSynth()

void SYNInitSynth ( struct SYNSYNTH * synth,
void * wavetable,
u32 aramBase,
u32 priorityVoiceAlloc,
u32 priorityNoteOn,
u32 priorityNoteRelease )

◆ SYNQuitSynth()

void SYNQuitSynth ( struct SYNSYNTH * synth)

◆ SYNMidiInput()

void SYNMidiInput ( struct SYNSYNTH * synth,
u8 * input )

◆ SYNSetMasterVolume()

void SYNSetMasterVolume ( struct SYNSYNTH * synth,
long dB )

◆ SYNGetMasterVolume()

long SYNGetMasterVolume ( struct SYNSYNTH * synth)

◆ SYNGetActiveNotes()

u32 SYNGetActiveNotes ( struct SYNSYNTH * synth)

◆ SYNGetMidiController()

u8 SYNGetMidiController ( struct SYNSYNTH * synth,
u8 midiChannel,
u8 function )