6#ifndef YARP_DEV_AUDIORECORDER_NWC_YARP_H
7#define YARP_DEV_AUDIORECORDER_NWC_YARP_H
63 bool close()
override;
contains the definition of a Vector type
This class is the parameters parser for class AudioRecorder_nwc_yarp.
audioRecoder_nwc_yarp: The client side of any IAudioGrabberSound capable device.
IAudioGrabberMsgs m_audiograb_RPC
bool close() override
Close the DeviceDriver.
virtual yarp::dev::ReturnValue startRecording() override
Start the recording.
virtual yarp::dev::ReturnValue getRecordingAudioBufferMaxSize(yarp::sig::AudioBufferSize &size) override
virtual yarp::dev::ReturnValue resetRecordingAudioBuffer() override
virtual yarp::dev::ReturnValue isRecording(bool &recording_enabled) override
Check if the recording has been enabled (e.g.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
virtual yarp::dev::ReturnValue getSound(yarp::sig::Sound &sound, size_t min_number_of_samples, size_t max_number_of_samples, double max_samples_timeout_s) override
Get a sound from a device.
virtual yarp::dev::ReturnValue setHWGain(double gain) override
Sets the hardware gain of the grabbing device (if supported by the hardware)
AudioRecorder_InputPortProcessor m_inputPort
virtual yarp::dev::ReturnValue stopRecording() override
Stop the recording.
virtual yarp::dev::ReturnValue setSWGain(double gain) override
Sets a software gain for the grabbed audio.
virtual yarp::dev::ReturnValue getRecordingAudioBufferCurrentSize(yarp::sig::AudioBufferSize &size) override
Interface implemented by all device drivers.
Read a YARP-format sound block from a device.
A mini-server for performing network communication in the background.
BufferedPort()
Constructor.
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.