#include <inputdevice.h>
Inheritance diagram for openalpp::InputDevice:
Public Member Functions | |
InputDevice () | |
InputDevice (int device, unsigned int samplerate, unsigned int buffersize=1024, SampleFormat format=Mono16) | |
InputDevice (const InputDevice &input) | |
InputDevice & | operator= (const InputDevice &input) |
Protected Member Functions | |
virtual | ~InputDevice () |
openalpp::InputDevice::InputDevice | ( | ) |
Constructor.
openalpp::InputDevice::InputDevice | ( | int | device, | |
unsigned int | samplerate, | |||
unsigned int | buffersize = 1024 , |
|||
SampleFormat | format = Mono16 | |||
) |
Constructor.
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.
InputDevice& openalpp::InputDevice::operator= | ( | const InputDevice & | input | ) |
Assignment operator.