From 4fafb81b2f2e04e910ac05eaee038ff12889d846 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Fri, 5 Oct 2018 21:26:13 -0400 Subject: decompile sound.c --- include/constants/songs.h | 1 + include/gba/m4a_internal.h | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/constants/songs.h b/include/constants/songs.h index 2e3adcbbf..e31a38fdc 100644 --- a/include/constants/songs.h +++ b/include/constants/songs.h @@ -1,6 +1,7 @@ #ifndef GUARD_CONSTANTS_SONGS_H #define GUARD_CONSTANTS_SONGS_H +#define MUS_DUMMY 0 #define SE_STOP 0 #define SE_KAIFUKU 1 #define SE_PC_LOGON 2 diff --git a/include/gba/m4a_internal.h b/include/gba/m4a_internal.h index ff92fcc40..89d5c1f5a 100644 --- a/include/gba/m4a_internal.h +++ b/include/gba/m4a_internal.h @@ -404,6 +404,10 @@ void SampleFreqSet(u32 freq); void m4aSoundVSyncOn(void); void m4aSoundVSyncOff(void); +void m4aMPlayTempoControl(struct MusicPlayerInfo *mplayInfo, u16 tempo); +void m4aMPlayVolumeControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, u16 volume); +void m4aMPlayPitchControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, s16 pitch); +void m4aMPlayPanpotControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, s8 pan); void ClearModM(struct MusicPlayerTrack *track); void m4aMPlayModDepthSet(struct MusicPlayerInfo *mplayInfo, u16 trackBits, u8 modDepth); void m4aMPlayLFOSpeedSet(struct MusicPlayerInfo *mplayInfo, u16 trackBits, u8 lfoSpeed); -- cgit v1.2.3