1 #ifndef _libgameaudio_h_
2 #define _libgameaudio_h_
43 #define LGA_BGM_LOOP_START 0
66 void lgaInit(
int nbgmt,
int nbgst,
int nmet,
int nset,
int nbgss,
int nses);
114 void lgaLoad(
int audio_type,
int format,
const char *file);
131 void lgaPlay(
int audio_type,
int tid,
int sid);
void lgaLoad(int audio_type, int format, const char *file)
Loads an audio track from an audio file.
void lgaPlay(int audio_type, int tid, int sid)
Plays the the i-th track of an audio type.
void lgaProc(void)
Processes libgameaudio state.
void lgaSetParami(int id, int value)
Sets library parameters that modify how certain functions are performed.
void lgaSetParamf(int id, float value)
Sets library parameters that modify how certain functions are performed.
void lgaTerminate(void)
Terminates libgameaudio.
void lgaStop(int qt, int audio_type, int id)
Stops the playing BGM/ME track, if there is any.
void lgaInit(int nbgmt, int nbgst, int nmet, int nset, int nbgss, int nses)
Initializes libgameaudio.