Public Member Functions | |
Capture () | |
Capture (int device, unsigned int samplerate, unsigned int buffersize=1024, SampleFormat format=Mono16) | |
Capture (const Capture &input) | |
Capture & | operator= (const Capture &input) |
Protected Member Functions | |
virtual | ~Capture () |
Protected Attributes | |
ALCdevice * | pCaptureDevice_ |
unsigned long | bufferSize_ |
unsigned long | sampleRate_ |
SampleFormat | sampleFormat_ |
openalpp::Capture::Capture | ( | ) |
Constructor.
openalpp::Capture::Capture | ( | 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::Capture::Capture | ( | const Capture & | input | ) |
Copy constructor.
virtual openalpp::Capture::~Capture | ( | ) | [protected, virtual] |
Destructor.
ALCdevice* openalpp::Capture::pCaptureDevice_ [protected] |
unsigned long openalpp::Capture::bufferSize_ [protected] |
unsigned long openalpp::Capture::sampleRate_ [protected] |
SampleFormat openalpp::Capture::sampleFormat_ [protected] |