49 bool close()
override;
53 bool threadInit()
override;
61 std::string m_audio_filename =
"audio.wav";
63 size_t m_samples_to_be_copied = 512;
64 size_t m_fsize_in_samples = 0;
65 std::vector<std::reference_wrapper<yarp::sig::Sound::audio_sample>> m_datap;
audioFromFileDevice : This device driver, wrapped by default by AudioRecorderWrapper,...
audioFromFileDevice & operator=(audioFromFileDevice &&)=delete
audioFromFileDevice(audioFromFileDevice &&)=delete
bool close() override
Close the DeviceDriver.
~audioFromFileDevice() override
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
audioFromFileDevice(const audioFromFileDevice &)=delete
bool setHWGain(double gain) override
Sets the hardware gain of the grabbing device (if supported by the hardware)
audioFromFileDevice & operator=(const audioFromFileDevice &)=delete
AudioRecorderDeviceBase : a base class for all audio recorder devices
Interface implemented by all device drivers.
An abstraction for a periodic thread.
A base class for nested structures that can be searched.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.