summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-05 21:26:13 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-05 21:26:13 -0400
commit4fafb81b2f2e04e910ac05eaee038ff12889d846 (patch)
treeed6f6f0faa3a88b86d1332a70ee8b1a64778cd25 /include
parent0659d53c27fcb85b70c6f5a5065967fdc3da115d (diff)
decompile sound.c
Diffstat (limited to 'include')
-rw-r--r--include/constants/songs.h1
-rw-r--r--include/gba/m4a_internal.h4
2 files changed, 5 insertions, 0 deletions
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);