6#ifndef PortAudioRecorderDeviceDriverh
7#define PortAudioRecorderDeviceDriverh
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)
PortAudioRecorderDeviceDriver & operator=(PortAudioRecorderDeviceDriver &&)=delete
void threadRelease() override
Release method.
PortAudioRecorderDeviceDriver & operator=(const PortAudioRecorderDeviceDriver &)=delete
PortAudioRecorderDeviceDriver(PortAudioRecorderDeviceDriver &&)=delete
bool close() override
Close the DeviceDriver.
~PortAudioRecorderDeviceDriver() override
bool stopRecording() override
Stop the recording.
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.