6 #ifndef PortAudioRecorderDeviceDriverh
7 #define PortAudioRecorderDeviceDriverh
15 #include <portaudio.h>
41 PaStreamParameters m_inputParameters;
55 bool close()
override;
portaudioRecorder: A device driver for an audio source wrapped by PortAudio library.
bool startRecording() override
Start the recording.
PortAudioRecorderDeviceDriver(const PortAudioRecorderDeviceDriver &)=delete
void run() override
Main body of the new thread.
bool threadInit() override
Initialization method.
bool setHWGain(double gain) override
Sets the hardware gain of the grabbing device (if supported by the hardware)
void threadRelease() override
Release method.
PortAudioRecorderDeviceDriver(PortAudioRecorderDeviceDriver &&)=delete
bool close() override
Close the DeviceDriver.
~PortAudioRecorderDeviceDriver() override
PortAudioRecorderDeviceDriver & operator=(const PortAudioRecorderDeviceDriver &)=delete
bool stopRecording() override
Stop the recording.
PortAudioRecorderDeviceDriver & operator=(PortAudioRecorderDeviceDriver &&)=delete
PortAudioRecorderDeviceDriver()
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
AudioRecorderDeviceBase : a base class for all audio recorder devices
Interface implemented by all device drivers.
A base class for nested structures that can be searched.
An abstraction for a thread of execution.