#include <CAIO.h>

Public Member Functions | |
| AUIO () | |
| AUIO (unsigned s_rate, unsigned b_size, int in_device, int out_device, unsigned in_chans, unsigned out_chans) | |
| ~AUIO () | |
| virtual void | open () throw (CException) |
| open/close start/stop methods | |
| virtual void | close () throw (CException) |
| open/close start/stop methods | |
| virtual void | start () throw (CException) |
| virtual void | stop () throw (CException) |
| void | setAudioUnit (AudioUnit au) |
| virtual Buffer & | getInput () throw (CException) |
| get the current input buffer | |
| virtual Buffer & | getInput (unsigned numFrames, unsigned numChannels) throw (CException) |
| get the current input buffer | |
Protected Member Functions | |
| void | handleError (OSStatus result) throw (CException) |
Protected Attributes | |
| AudioUnit | mAudioUnit |
| AUIO::AUIO | ( | ) |
| AUIO::AUIO | ( | unsigned | s_rate, | |
| unsigned | b_size, | |||
| int | in_device, | |||
| int | out_device, | |||
| unsigned | in_chans, | |||
| unsigned | out_chans | |||
| ) |
| AUIO::~AUIO | ( | ) |
| void AUIO::open | ( | ) | throw (CException) [virtual] |
open/close start/stop methods
Reimplemented from csl::IO.
Reimplemented in csl::CAIO.
References handleError(), mAudioUnit, csl::IO::mThisSec, csl::IO::mTimeSum, csl::IO::mTimeVals, and RenderCallback().
| void AUIO::close | ( | ) | throw (CException) [virtual] |
open/close start/stop methods
Reimplemented from csl::IO.
Reimplemented in csl::CAIO.
References handleError(), and mAudioUnit.
| void AUIO::start | ( | void | ) | throw (CException) [virtual] |
| void AUIO::stop | ( | void | ) | throw (CException) [virtual] |
| void csl::AUIO::setAudioUnit | ( | AudioUnit | au | ) | [inline] |
References mAudioUnit.
| Buffer & AUIO::getInput | ( | ) | throw (CException) [virtual] |
get the current input buffer
Reimplemented from csl::IO.
References csl::IO::mInputBuffer, csl::Buffer::mNumChannels, and csl::Buffer::mNumFrames.
| Buffer & AUIO::getInput | ( | unsigned | numFrames, | |
| unsigned | numChannels | |||
| ) | throw (CException) [virtual] |
| void AUIO::handleError | ( | OSStatus | result | ) | throw (CException) [protected] |
Reimplemented in csl::CAIO.
References csl::kLogError, and csl::logMsg().
Referenced by close(), csl::CAIO::handleError(), and open().
AudioUnit csl::AUIO::mAudioUnit [protected] |
Referenced by csl::CAIO::close(), close(), csl::CAIO::open(), open(), setAudioUnit(), csl::CAIO::start(), and csl::CAIO::stop().
1.5.8