Functions | |
int | pgeAt3Init (void) |
int | pgeAt3Load (const char *filename) |
void | pgeAt3Unload (void) |
void | pgeAt3Play (void) |
void | pgeAt3Stop (void) |
void | pgeAt3Pause (void) |
void | pgeAt3SetVol (int volume) |
int | pgeAt3GetVol (void) |
void | pgeAt3SetLoop (int loop) |
unsigned long long | pgeAt3SamplesPlayed (void) |
short * | pgeAt3GetMixBuffer (void) |
short* pgeAt3GetMixBuffer | ( | void | ) |
A pointer to the current mixing buffer
int pgeAt3GetVol | ( | void | ) |
Get the volume of the atrac3 playback
int pgeAt3Init | ( | void | ) |
Initialise the atrac3 playback
int pgeAt3Load | ( | const char * | filename | ) |
Load an atrac3 file
filename | - Path of the file to load. |
void pgeAt3Pause | ( | void | ) |
Pause a loaded atrac3 file
void pgeAt3Play | ( | void | ) |
Start playing a loaded atrac3 file
unsigned long long pgeAt3SamplesPlayed | ( | void | ) |
Get the total number of samples played
void pgeAt3SetLoop | ( | int | loop | ) |
Set the loop of the atrac3 playback
loop | - Set to 1 to loop, 0 to playback once |
void pgeAt3SetVol | ( | int | volume | ) |
Set the volume of the atrac3 playback
volume | - The new volume. Accepted values 0 to 32768 |
void pgeAt3Stop | ( | void | ) |
Stop playing a loaded atrac3 file
void pgeAt3Unload | ( | void | ) |
Unload a previously loaded atrac3 file