include/gba/m4a.h file

Classes

struct WaveData
struct ToneData
struct SongHeader
struct Song
struct SoundChannel
struct MusicPlayerInfo
struct MusicPlayerTrack
struct MusicPlayer

Typedefs

using MPlayMainFunc = void(*)(MusicPlayerInfo*)

Functions

void m4aSoundMain(void)
void m4aSoundVSync(void)
void m4aSoundInit(void)
void m4aSongNumStart(u16 n)
void m4aSongNumStartOrContinue(u16 n)
void m4aSongNumStop(u16 n)
void m4aMPlayAllStop(void)
void m4aMPlayImmInit(MusicPlayerInfo* mplayInfo)
void m4aMPlayTempoControl(MusicPlayerInfo* mplayInfo, u16 tempo)
void m4aMPlayVolumeControl(MusicPlayerInfo* mplayInfo, u16 trackBits, u16 volume)
void m4aSoundVSyncOn(void)
void m4aSoundVSyncOff(void)

Variables

const MusicPlayer gMusicPlayers
const Song gSongTable

Defines

#define TONEDATA_TYPE_CGB
#define TONEDATA_TYPE_FIX
#define TONEDATA_TYPE_SPL
#define TONEDATA_TYPE_RHY
#define TONEDATA_P_S_PAN
#define TONEDATA_P_S_PAM
#define MPT_FLG_VOLSET
#define MPT_FLG_VOLCHG
#define MPT_FLG_PITSET
#define MPT_FLG_PITCHG
#define MPT_FLG_START
#define MPT_FLG_EXIST