Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SoundPlayThread Class Reference

#include <SoundPlayThread.h>


Detailed Description

Definition at line 11 of file SoundPlayThread.h.

List of all members.

Public Member Functions

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

Protected Member Functions

void openSystem ()
void closeSystem ()
virtual bool poll ()

Protected Attributes

bool initSuccess
CallbackPollThread poller
Thread::Lock lock
snd_pcm_t * pcm_handle
snd_pcm_uframes_t buffer_size
snd_pcm_uframes_t period_size
unsigned int frame_size
char * buf

Private Member Functions

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

Constructor & Destructor Documentation

SoundPlayThread (  ) 

Definition at line 13 of file SoundPlayThread.h.

virtual ~SoundPlayThread (  )  [virtual]

Definition at line 24 of file SoundPlayThread.h.

SoundPlayThread ( const SoundPlayThread l  )  [private]

don't call


Member Function Documentation

void closeSystem (  )  [protected]

Definition at line 304 of file SoundPlayThread.cc.

Referenced by ~SoundPlayThread().

void openSystem (  )  [protected]

Definition at line 181 of file SoundPlayThread.cc.

Referenced by SoundPlayThread().

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

don't call

bool poll (  )  [protected, virtual]

Definition at line 327 of file SoundPlayThread.cc.

void reset (  ) 

Definition at line 156 of file SoundPlayThread.cc.

Referenced by SoundPlay::doStart(), and SoundPlay::gotSnd().


Member Data Documentation

char* buf [protected]

Definition at line 58 of file SoundPlayThread.h.

Referenced by closeSystem(), and poll().

snd_pcm_uframes_t buffer_size [protected]

Definition at line 54 of file SoundPlayThread.h.

Referenced by openSystem().

unsigned int frame_size [protected]

Definition at line 56 of file SoundPlayThread.h.

Referenced by openSystem(), and poll().

bool initSuccess [protected]

Definition at line 35 of file SoundPlayThread.h.

Referenced by closeSystem(), openSystem(), reset(), and ~SoundPlayThread().

Thread::Lock lock [protected]

Definition at line 50 of file SoundPlayThread.h.

Referenced by closeSystem(), openSystem(), poll(), and reset().

snd_pcm_t* pcm_handle [protected]

Definition at line 52 of file SoundPlayThread.h.

Referenced by closeSystem(), openSystem(), poll(), and reset().

snd_pcm_uframes_t period_size [protected]

Definition at line 55 of file SoundPlayThread.h.

Referenced by openSystem(), and poll().

Definition at line 41 of file SoundPlayThread.h.

Referenced by closeSystem(), and reset().


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:42 2016 by Doxygen 1.6.3