6#ifndef PortAudioRecorderDeviceDriverh
7#define PortAudioRecorderDeviceDriverh
39 PaStreamParameters m_inputParameters;
53 bool close()
override;
This class is the parameters parser for class PortAudioRecorderDeviceDriver.
portaudioRecorder: A device driver for an audio source wrapped by PortAudio library.
yarp::dev::ReturnValue setHWGain(double gain) override
Sets the hardware gain of the grabbing device (if supported by the hardware)
PortAudioRecorderDeviceDriver(const PortAudioRecorderDeviceDriver &)=delete
void run() override
Main body of the new thread.
bool threadInit() override
Initialization method.
yarp::dev::ReturnValue stopRecording() override
Stop the recording.
PortAudioRecorderDeviceDriver & operator=(PortAudioRecorderDeviceDriver &&)=delete
void threadRelease() override
Release method.
PortAudioRecorderDeviceDriver & operator=(const PortAudioRecorderDeviceDriver &)=delete
PortAudioRecorderDeviceDriver(PortAudioRecorderDeviceDriver &&)=delete
bool close() override
Close the DeviceDriver.
yarp::dev::ReturnValue startRecording() override
Start the recording.
~PortAudioRecorderDeviceDriver() override
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.