|
Public Member Functions |
| | PAIO () |
| | PAIO (unsigned s_rate, unsigned b_size) |
| | Constructor given sample rate and block size.
|
| | PAIO (int in_stream, int out_stream, unsigned in_chans, unsigned out_chans) |
| | Constructor given I/O stream IDs and # of channels.
|
| | PAIO (unsigned s_rate, unsigned b_size, PaDeviceIndex in_device, PaDeviceIndex out_device, unsigned in_chans, unsigned out_chans) |
| | Most verbose -- specify everything.
|
| | ~PAIO () |
| | Destructor.
|
| void | open () throw (CException) |
| | open the IO
|
| void | start () throw (CException) |
| | start the callbacks
|
| void | stop () throw (CException) |
| | stop the callbacks
|
| void | close () throw (CException) |
| | close the IO
|
| void | test () throw (CException) |
| | test the IO's graph
|
| Buffer & | getInput () throw (CException) |
| | get the current input buffer
|
| Buffer & | getInput (unsigned numFrames, unsigned numChannels) throw (CException) |
| | get the current input buffer
|
Public Attributes |
| PaStream * | mStream |
| | the PortAudio stream we play out/get data from
|
| sample * | mInputPointer |
| | the buffer for holding the sound card input (if open)
|
| unsigned * | mChannelMap |
Protected Member Functions |
| void | handleError (PaError result) throw (CException) |
| | print the error message
|
| void | initialize (unsigned sr, unsigned bs, int is, int os, unsigned ic, unsigned oc) |
| | Actually initialize PortAudio driver.
|
Protected Attributes |
| PaStreamParameters * | mInputParameters |
| | PA IO stream parameters.
|
| PaStreamParameters * | mOutputParameters |
| PaDeviceIndex | mInDev |
| PaDeviceIndex | mOutDev |
| | IO device numbers.
|
| PADeviceVector | mDevices |