openalpp::InputDevice Class Reference

Inheritance diagram for openalpp::InputDevice:

openalpp::Stream openalpp::SoundData openalpp::AudioBase

List of all members.

Public Member Functions

 InputDevice ()
 InputDevice (int device, unsigned int samplerate, unsigned int buffersize=1024, SampleFormat format=Mono16)
 InputDevice (const InputDevice &input)
InputDeviceoperator= (const InputDevice &input)

Protected Member Functions

virtual ~InputDevice ()

Protected Attributes

ALCdevice * pCaptureDevice_
unsigned long bufferSize_
unsigned long sampleRate_
SampleFormat sampleFormat_


Detailed Description

Class for handling input devices, like microphones.

Constructor & Destructor Documentation

openalpp::InputDevice::InputDevice (  ) 

Constructor.

openalpp::InputDevice::InputDevice ( int  device,
unsigned int  samplerate,
unsigned int  buffersize = 1024,
SampleFormat  format = Mono16 
)

Constructor.

Parameters:
device is the device to open. -1 for default input.
samplerate is the desired sample rate.
buffersize is the desired buffer size _in samples_.
format is the desired sample format.

openalpp::InputDevice::InputDevice ( const InputDevice input  ) 

Copy constructor.

virtual openalpp::InputDevice::~InputDevice (  )  [protected, virtual]

Destructor.


Member Function Documentation

InputDevice& openalpp::InputDevice::operator= ( const InputDevice input  ) 

Assignment operator.


Member Data Documentation

ALCdevice* openalpp::InputDevice::pCaptureDevice_ [protected]

unsigned long openalpp::InputDevice::bufferSize_ [protected]

unsigned long openalpp::InputDevice::sampleRate_ [protected]

SampleFormat openalpp::InputDevice::sampleFormat_ [protected]


The documentation for this class was generated from the following file:
Generated on Mon Nov 12 03:32:35 2007 for osgAL by  doxygen 1.5.3-20071008