summaryrefslogtreecommitdiff
path: root/include/m4a.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2021-08-11 19:53:46 -0400
committerGitHub <noreply@github.com>2021-08-11 19:53:46 -0400
commit0e3e6a544029e4388fcee883760e8a9883bde5c1 (patch)
tree4a6d21fb800f983bcf5419f4a6c1cf937c5eeefe /include/m4a.h
parent5c01878be8e20abe18b40a7c92a7c0013c2ba7b7 (diff)
parentbb495d67186255ba4c367ffcce6d1b6d71ac976b (diff)
Merge pull request #833 from Kurausukun/cgbsound
Port CgbSound Documentation and Fakematch Fixes
Diffstat (limited to 'include/m4a.h')
-rw-r--r--include/m4a.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/include/m4a.h b/include/m4a.h
index 56f00a84f..4847c12cc 100644
--- a/include/m4a.h
+++ b/include/m4a.h
@@ -3,16 +3,13 @@
#include "gba/m4a_internal.h"
-extern struct MusicPlayerInfo gMPlayInfo_SE1;
-extern struct MusicPlayerInfo gMPlayInfo_SE2;
-extern struct MusicPlayerInfo gMPlayInfo_SE3;
-
void m4aSoundVSync(void);
+void m4aSoundVSyncOn(void);
void m4aSoundInit(void);
void m4aSoundMain(void);
-void m4aSongNumStart(u16);
-void m4aSongNumStartOrChange(u16);
+void m4aSongNumStart(u16 n);
+void m4aSongNumStartOrChange(u16 n);
void m4aSongNumStop(u16 n);
void m4aMPlayAllStop(void);
void m4aMPlayContinue(struct MusicPlayerInfo *mplayInfo);
@@ -21,9 +18,10 @@ void m4aMPlayFadeOutTemporarily(struct MusicPlayerInfo *mplayInfo, u16 speed);
void m4aMPlayFadeIn(struct MusicPlayerInfo *mplayInfo, u16 speed);
void m4aMPlayImmInit(struct MusicPlayerInfo *mplayInfo);
-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);
+extern struct MusicPlayerInfo gMPlayInfo_BGM;
+extern struct MusicPlayerInfo gMPlayInfo_SE1;
+extern struct MusicPlayerInfo gMPlayInfo_SE2;
+extern struct MusicPlayerInfo gMPlayInfo_SE3;
+extern struct SoundInfo gSoundInfo;
#endif //GUARD_M4A_H