|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
55 bool close()
override;
67 std::string m_audio_filename =
"audio_out.wav";
69 bool m_playback_running =
false;
70 std::deque<yarp::sig::Sound> m_sounds;
71 size_t m_filename_counter = 0;
74 save_overwrite_file = 0,
77 } m_save_mode = save_overwrite_file;
audioToFileDevice : This device driver, wrapped by default by AudioPlayerWrapper, is used to save to ...
virtual bool startPlayback() override
Start the playback.
A base class for nested structures that can be searched.
virtual bool resetPlaybackAudioBuffer() override
Interface implemented by all device drivers.
audioToFileDevice & operator=(audioToFileDevice &&)=delete
virtual bool getPlaybackAudioBufferMaxSize(yarp::dev::AudioBufferSize &size) override
virtual bool getPlaybackAudioBufferCurrentSize(yarp::dev::AudioBufferSize &size) override
bool close() override
Close the DeviceDriver.
virtual bool stopPlayback() override
Stop the playback.
audioToFileDevice(const audioToFileDevice &)=delete
virtual bool renderSound(const yarp::sig::Sound &sound) override
Render a sound using a device (i.e.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
audioToFileDevice(audioToFileDevice &&)=delete
Class for storing sounds.
~audioToFileDevice() override
audioToFileDevice & operator=(const audioToFileDevice &)=delete