ScummVM API documentation
PspAudio Class Reference
Inheritance diagram for PspAudio:
PspThreadable

Public Types

enum  { NUM_BUFFERS = 2, FREQUENCY = 44100 }
 
typedef void(* callbackFunc) (void *userData, byte *samples, int len)
 

Public Member Functions

bool playBuffer ()
 
void nextBuffer (int &bufferIdx)
 
bool open (uint32 freq, uint32 numOfChannels, uint32 numOfSamples, callbackFunc callback, void *userData)
 
void close ()
 
uint32 getFrequency ()
 
void pause ()
 
void unpause ()
 
virtual void threadFunction ()
 
- Public Member Functions inherited from PspThreadable
bool threadCreateAndStart (const char *threadName, int priority, int stackSize, bool useVfpu=false)
 

Additional Inherited Members

- Static Public Member Functions inherited from PspThreadable
static int __threadCallback (SceSize, void *__this)
 
- Protected Attributes inherited from PspThreadable
int _threadId
 

The documentation for this class was generated from the following file: