PSPFSound Class Reference

#include <PSPFSound.h>

Inherits PSPFObject.

List of all members.

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.


Constructor & Destructor Documentation

PSPFSound::PSPFSound ( char *  filename,
int  stream,
int  channel 
)

PSPFSound.

Loads a sound type Load a sound type in Channel (0 at 7) Support formats: wav, bgm, mod, it, xm or sm3

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


Member Function Documentation

void PSPFSound::Play (  ) 

Play.

Play sound

void PSPFSound::Stop (  ) 

Stop.

Stop sound

void PSPFSound::Pause (  ) 

Pause.

Pause sound, for play

See also:
Play() play sound

void PSPFSound::SetLoop ( bool  isTrue  ) 

SetLoop.

Set loop sound

Parameters:
isTrue "true" for loop

void PSPFSound::SetChannel ( int  channel  ) 

SetChannel.

Set channel

Parameters:
channel int value from 0 at 7


The documentation for this class was generated from the following file:
Generated on Sat Oct 27 20:25:29 2007 for PSPFramework by  doxygen 1.5.3