|
openTRI 0.1
|
Data Structures | |
| struct | triWav |
| A WAV file struct. More... | |
Functions | |
| triBool | triWavInit () |
| Initialise the WAV playback. | |
| triWav * | triWavLoad (const triChar *filename) |
| Load a WAV file. | |
| triVoid | triWavFree (triWav *theWav) |
| Unload a previously loaded WAV file. | |
| triBool | triWavPlay (triWav *theWav) |
| Start playing a loaded WAV file. | |
| triVoid | triWavStop (triWav *theWav) |
| Stop playing a loaded WAV. | |
| triVoid | triWavStopAll () |
| Stop playing all WAVs. | |
| triVoid | triWavSetLoop (triWav *theWav, triUInt loop) |
| Set the loop of the WAV playback. | |
| triBool triWavInit | ( | ) |
Initialise the WAV playback.
| triWav * triWavLoad | ( | const triChar * | filename | ) |
Load a WAV file.
| filename | - Path of the file to load. |
| triBool triWavPlay | ( | triWav * | theWav | ) |
Start playing a loaded WAV file.
| theWav | A pointer to a valid triWav struct. |