|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
19 #ifndef PortAudioRecorderDeviceDriverh
20 #define PortAudioRecorderDeviceDriverh
28 #include <portaudio.h>
53 PaStreamParameters m_inputParameters;
67 bool close()
override;
PortAudioRecorderDeviceDriver(PortAudioRecorderDeviceDriver &&)=delete
~PortAudioRecorderDeviceDriver() override
bool startRecording() override
Start the recording.
A base class for nested structures that can be searched.
Interface implemented by all device drivers.
void run() override
Main body of the new thread.
An abstraction for a thread of execution.
PortAudioRecorderDeviceDriver & operator=(const PortAudioRecorderDeviceDriver &)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
void threadRelease() override
Release method.
bool stopRecording() override
Stop the recording.
bool close() override
Close the DeviceDriver.
bool threadInit() override
Initialization method.
PortAudioRecorderDeviceDriver()
PortAudioRecorderDeviceDriver & operator=(PortAudioRecorderDeviceDriver &&)=delete
PortAudioRecorderDeviceDriver(const PortAudioRecorderDeviceDriver &)=delete
portaudioRecorder: A device driver for an audio source wrapped by PortAudio library.