54 bool close()
override;
58 bool threadInit()
override;
62 std::vector<size_t> m_counter;
63 std::vector<size_t> m_max_count;
64 size_t m_wave_amplitude = 32000;
65 double m_sig_freq=440;
66 size_t m_samples_to_be_copied = 512;
fakeMicrophone : fake microphone device implementing the IAudioGrabberSound interface to generate a t...
fakeMicrophone & operator=(const fakeMicrophone &)=delete
bool setHWGain(double gain) override
Sets the hardware gain of the grabbing device (if supported by the hardware)
bool close() override
Close the DeviceDriver.
fakeMicrophone(fakeMicrophone &&)=delete
fakeMicrophone & operator=(fakeMicrophone &&)=delete
fakeMicrophone(const fakeMicrophone &)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
~fakeMicrophone() override
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.