CLAM::RtAAudioDevice Class Reference

#include <RtAAudioDevice.hxx>

List of all members.

Classes

class  Buffer

Public Member Functions

 RtAAudioDevice (const std::string &name, int _device)
 ~RtAAudioDevice ()
void Start (void) throw (Err)
 This method must be called to begin the use of this Device.
void Stop (void) throw (Err)
 This method must be called to end the use of this Device.
void Tick (void)
void Read (Audio &audio, const int channelID)
 Reads the information given by this Device and passes data to an Audio chunk.
void Write (const Audio &audio, const int channelID)
 Writes the information given by an Audio chunk in the Devices.

Detailed Description

Definition at line 29 of file RtAAudioDevice.hxx.


Constructor & Destructor Documentation

CLAM::RtAAudioDevice::RtAAudioDevice ( const std::string &  name,
int  _device 
)

Definition at line 244 of file RtAAudioDevice.cxx.

CLAM::RtAAudioDevice::~RtAAudioDevice (  ) 

Definition at line 361 of file RtAAudioDevice.cxx.

References RtAudio::stopStream().


Member Function Documentation

void CLAM::RtAAudioDevice::Read ( Audio audio,
const int  channelID 
) [virtual]

Reads the information given by this Device and passes data to an Audio chunk.

Must be implemented by any Device derived from this class.

Parameters:
audio Audio object where data will be stored.
channelID Channel to read.

Implements CLAM::AudioDevice.

Definition at line 366 of file RtAAudioDevice.cxx.

void CLAM::RtAAudioDevice::Start ( void   )  throw (Err) [virtual]

This method must be called to begin the use of this Device.

Must be implemented by any Device derived from this class

Implements CLAM::AudioDevice.

Definition at line 254 of file RtAAudioDevice.cxx.

void CLAM::RtAAudioDevice::Stop ( void   )  throw (Err) [virtual]

This method must be called to end the use of this Device.

Must be implemented by any Device derived from this class

Implements CLAM::AudioDevice.

Definition at line 350 of file RtAAudioDevice.cxx.

References RtAudio::getStreamBuffer().

void CLAM::RtAAudioDevice::Tick ( void   ) 

Definition at line 407 of file RtAAudioDevice.cxx.

void CLAM::RtAAudioDevice::Write ( const Audio audio,
const int  channelID 
) [virtual]

Writes the information given by an Audio chunk in the Devices.

Must be implemented by any Device derived from this class.

Parameters:
audio Audio object with values that must to be passed to Devices
channelID Channel to write

Implements CLAM::AudioDevice.

Definition at line 390 of file RtAAudioDevice.cxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3