diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2021-08-11 19:53:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 19:53:46 -0400 |
commit | 0e3e6a544029e4388fcee883760e8a9883bde5c1 (patch) | |
tree | 4a6d21fb800f983bcf5419f4a6c1cf937c5eeefe /include/m4a.h | |
parent | 5c01878be8e20abe18b40a7c92a7c0013c2ba7b7 (diff) | |
parent | bb495d67186255ba4c367ffcce6d1b6d71ac976b (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.h | 18 |
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 |