Atrac3 Library


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)

Function Documentation

short* pgeAt3GetMixBuffer ( void   ) 

A pointer to the current mixing buffer

Returns:
A pointer to the current values in the mixing buffer

int pgeAt3GetVol ( void   ) 

Get the volume of the atrac3 playback

int pgeAt3Init ( void   ) 

Initialise the atrac3 playback

Returns:
1 on success, 0 on error.
Note:
Requires kernel mode

int pgeAt3Load ( const char *  filename  ) 

Load an atrac3 file

Parameters:
filename - Path of the file to load.
Returns:
1 on success, 0 on error.

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

Returns:
Number of samples

void pgeAt3SetLoop ( int  loop  ) 

Set the loop of the atrac3 playback

Parameters:
loop - Set to 1 to loop, 0 to playback once

void pgeAt3SetVol ( int  volume  ) 

Set the volume of the atrac3 playback

Parameters:
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


Generated on Tue May 15 07:21:01 2007 for Phoenix Game Engine by  doxygen 1.5.2