#include <NullIO.h>

Public Member Functions | |
| NullIO () | |
| Constructor. | |
| NullIO (unsigned s_rate, unsigned b_size, int in_device=0, int out_device=0, unsigned in_chans=0, unsigned out_chans=2) | |
| virtual | ~NullIO () |
| virtual void | start () throw (CException) |
| start my timer thread | |
| virtual void | stop () throw (CException) |
| stop the timer thread | |
| virtual Buffer & | getInput () throw (CException) |
| Get the current input from the sound card. | |
| virtual Buffer & | getInput (unsigned numFrames, unsigned numChannels) throw (CException) |
Static Protected Member Functions | |
| static void * | FeederFunction (void *arg) |
| shared init function | |
Protected Attributes | |
| bool | mRunning |
| Thread * | mThread |
| whether or not I'm running | |
| Synch * | mSynch |
| the sync I wait on | |
| NullIO::NullIO | ( | ) |
| NullIO::NullIO | ( | unsigned | s_rate, | |
| unsigned | b_size, | |||
| int | in_device = 0, |
|||
| int | out_device = 0, |
|||
| unsigned | in_chans = 0, |
|||
| unsigned | out_chans = 2 | |||
| ) |
| NullIO::~NullIO | ( | ) | [virtual] |
| void NullIO::start | ( | void | ) | throw (CException) [virtual] |
start my timer thread
< start my timer thread
whether or not I'm running
Reimplemented from csl::IO.
Reimplemented in csl::StdIO.
References csl::Thread::createRealtimeThread(), FeederFunction(), mRunning, and mThread.
| void NullIO::stop | ( | void | ) | throw (CException) [virtual] |
stop the timer thread
< stop the timer thread
Reimplemented from csl::IO.
Reimplemented in csl::StdIO.
References csl::Synch::condSignal(), mRunning, and mSynch.
| virtual Buffer& csl::NullIO::getInput | ( | ) | throw (CException) [inline, virtual] |
Get the current input from the sound card.
Reimplemented from csl::IO.
References csl::IO::mInputBuffer.
| virtual Buffer& csl::NullIO::getInput | ( | unsigned | numFrames, | |
| unsigned | numChannels | |||
| ) | throw (CException) [inline, virtual] |
Reimplemented from csl::IO.
| void * NullIO::FeederFunction | ( | void * | arg | ) | [static, protected] |
shared init function
Reimplemented in csl::StdIO.
References csl::Synch::condWait(), csl::Synch::lock(), csl::IO::mOutputBuffer, mRunning, mSynch, csl::IO::pullInput(), and csl::Synch::unlock().
Referenced by start().
bool csl::NullIO::mRunning [protected] |
Referenced by csl::StdIO::FeederFunction(), FeederFunction(), start(), and stop().
Thread* csl::NullIO::mThread [protected] |
whether or not I'm running
my timer thread
Reimplemented from csl::ThreadPthread.
Referenced by NullIO(), start(), and csl::StdIO::StdIO().
Synch* csl::NullIO::mSynch [protected] |
the sync I wait on
Referenced by csl::StdIO::FeederFunction(), FeederFunction(), NullIO(), csl::StdIO::StdIO(), and stop().
1.5.8