Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SoundPlayThread Class Reference

#include <SoundPlayThread.h>

Inheritance diagram for SoundPlayThread:

List of all members.


Detailed Description

Definition at line 7 of file SoundPlayThread.h.


Public Member Functions

 SoundPlayThread ()
virtual ~SoundPlayThread ()
void reset ()

Static Public Attributes

static const long BUFFER_TIME = 32
static const unsigned int NUM_BUFFERS = 2

Protected Member Functions

virtual bool launched ()
virtual bool poll ()

Protected Attributes

char * buf
size_t bufsize
unsigned int buffersInFlight

Private Member Functions

 SoundPlayThread (const SoundPlayThread &l)
 don't call
SoundPlayThreadoperator= (const SoundPlayThread &l)
 don't call

Constructor & Destructor Documentation

SoundPlayThread (  )  [inline]

Definition at line 11 of file SoundPlayThread.h.

virtual ~SoundPlayThread (  )  [inline, virtual]

Definition at line 12 of file SoundPlayThread.h.

SoundPlayThread ( const SoundPlayThread l  )  [private]

don't call


Member Function Documentation

void reset (  ) 

Definition at line 8 of file SoundPlayThread.cc.

Referenced by SoundPlay::gotSnd().

bool launched (  )  [protected, virtual]

Reimplemented from Thread.

Definition at line 15 of file SoundPlayThread.cc.

bool poll (  )  [protected, virtual]

Reimplemented from PollThread.

Definition at line 21 of file SoundPlayThread.cc.

SoundPlayThread& operator= ( const SoundPlayThread l  )  [private]

don't call


Member Data Documentation

const long BUFFER_TIME = 32 [static]

Definition at line 9 of file SoundPlayThread.h.

Referenced by poll().

const unsigned int NUM_BUFFERS = 2 [static]

Definition at line 10 of file SoundPlayThread.h.

Referenced by poll().

char* buf [protected]

Definition at line 20 of file SoundPlayThread.h.

Referenced by poll(), and ~SoundPlayThread().

size_t bufsize [protected]

Definition at line 21 of file SoundPlayThread.h.

Referenced by poll().

unsigned int buffersInFlight [protected]

Definition at line 22 of file SoundPlayThread.h.

Referenced by launched(), and poll().


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

Tekkotsu Hardware Abstraction Layer 4.0
Generated Thu Nov 22 01:01:24 2007 by Doxygen 1.5.4