#include <PSPFSound.h>
Inherits PSPFObject.
Public Member Functions | |
| PSPFSound (char *filename, int stream, int channel) | |
| PSPFSound. | |
| ~PSPFSound () | |
| ~PSPFSound | |
| void | Play () |
| Play. | |
| void | Stop () |
| Stop. | |
| void | Pause () |
| Pause. | |
| void | SetLoop (bool isTrue) |
| SetLoop. | |
| void | SetChannel (int channel) |
| SetChannel. | |
| PSPFSound::PSPFSound | ( | char * | filename, | |
| int | stream, | |||
| int | channel | |||
| ) |
Loads a sound type Load a sound type in Channel (0 at 7) Support formats: wav, bgm, mod, it, xm or sm3
| filename | name and path from file | |
| stream | STREAM = sound is streamed or NONE = sound is entierly loaded in memory | |
| channel | channel for sound play |
| PSPFSound::~PSPFSound | ( | ) |
~PSPFSound
Remove and delete sound from memory
| void PSPFSound::Play | ( | ) |
Play.
Play sound
| void PSPFSound::Stop | ( | ) |
Stop.
Stop sound
| void PSPFSound::Pause | ( | ) |
| void PSPFSound::SetLoop | ( | bool | isTrue | ) |
SetLoop.
Set loop sound
| isTrue | "true" for loop |
| void PSPFSound::SetChannel | ( | int | channel | ) |
SetChannel.
Set channel
| channel | int value from 0 at 7 |
1.5.3