openalpp::InputDevice Class Reference

#include <inputdevice.h>

Inheritance diagram for openalpp::InputDevice:

openalpp::Stream openalpp::SoundData openalpp::AudioBase openalpp::Referenced 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 ()

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.


The documentation for this class was generated from the following file:
Generated on Sun Oct 15 08:41:42 2006 for openalpp by  doxygen 1.4.7