mirror of
https://github.com/blawar/ooot.git
synced 2024-06-25 22:09:34 +00:00
20 lines
706 B
C
20 lines
706 B
C
#pragma once
|
|
struct AdsrEnvelope;
|
|
struct Portamento;
|
|
struct VibratoState;
|
|
struct Note;
|
|
struct SequenceChannel;
|
|
struct SequencePlayer;
|
|
struct AdsrState;
|
|
|
|
void Audio_AdsrInit(AdsrState* adsr, AdsrEnvelope* envelope, s16* volOut);
|
|
f32 Audio_AdsrUpdate(AdsrState* adsr);
|
|
f32 Audio_GetPortamentoFreqScale(Portamento* p);
|
|
f32 Audio_GetVibratoFreqScale(VibratoState* vib);
|
|
s16 Audio_GetVibratoPitchChange(VibratoState* vib);
|
|
void Audio_NotePortamentoInit(Note* note);
|
|
void Audio_NoteVibratoInit(Note* note);
|
|
void Audio_NoteVibratoUpdate(Note* note);
|
|
void Audio_SequenceChannelProcessSound(SequenceChannel* channel, s32 recalculateVolume, s32 b);
|
|
void Audio_SequencePlayerProcessVolume(SequencePlayer* seqPlayer);
|