ML_modplayer.h File Reference
This file contains mod player headers.
More...
Functions |
void | ML_InitMOD (MODPlay *play) |
| This function inits the mod's buffer.
|
void | ML_PlayMODFromBuffer (MODPlay *play, const u8 *mod) |
| This function loads and plays a MOD.
|
void | ML_PlayMODFromFile (MODPlay *play, const char *filename) |
| This function loads and plays a MOD located on a device such as a SD card.
|
bool | ML_IsPlayingMOD () |
| This function checks if a MOD is currently playing.
|
void | ML_LoadMOD (MODPlay *play, const void *mod) |
| This function loads the mod.
|
void | ML_PlayMOD (MODPlay *play) |
| This function plays the mod.
|
void | ML_StopMOD (MODPlay *play) |
| This function stops playing the mod.
|
void | ML_PauseMOD (MODPlay *play, bool pause) |
| This function set to pause the playing mod.
|
Detailed Description
This file contains mod player headers.
Function Documentation
void ML_InitMOD |
( |
MODPlay * |
play |
) |
|
This function inits the mod's buffer.
- Parameters:
-
This function checks if a MOD is currently playing.
- Returns:
- 1 if playing, 0 if not
void ML_LoadMOD |
( |
MODPlay * |
play, |
|
|
const void * |
mod | |
|
) |
| | |
This function loads the mod.
- Parameters:
-
| play | MOD's buffer |
| mod | MOD |
void ML_PauseMOD |
( |
MODPlay * |
play, |
|
|
bool |
pause | |
|
) |
| | |
This function set to pause the playing mod.
- Parameters:
-
| play | MOD's buffer |
| pause | Set to 0 to set to pause and 1 to unset. |
void ML_PlayMOD |
( |
MODPlay * |
play |
) |
|
This function plays the mod.
- Parameters:
-
void ML_PlayMODFromBuffer |
( |
MODPlay * |
play, |
|
|
const u8 * |
mod | |
|
) |
| | |
This function loads and plays a MOD.
- Parameters:
-
| play | MOD's buffer |
| mod | MOD |
void ML_PlayMODFromFile |
( |
MODPlay * |
play, |
|
|
const char * |
filename | |
|
) |
| | |
This function loads and plays a MOD located on a device such as a SD card.
- Parameters:
-
| play | MOD's buffer |
| filename | Name of your MOD located on a device such as a SD card |
void ML_StopMOD |
( |
MODPlay * |
play |
) |
|
This function stops playing the mod.
- Parameters:
-