
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 () |
Protected Attributes | |
| ALCdevice * | pCaptureDevice_ |
| unsigned long | bufferSize_ |
| unsigned long | sampleRate_ |
| SampleFormat | sampleFormat_ |
| 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.
unsigned long openalpp::InputDevice::bufferSize_ [protected] |
ALCdevice* openalpp::InputDevice::pCaptureDevice_ [protected] |
SampleFormat openalpp::InputDevice::sampleFormat_ [protected] |
unsigned long openalpp::InputDevice::sampleRate_ [protected] |
1.5.9