7#ifndef YARP_DEV_IAUDIORENDER_H
8#define YARP_DEV_IAUDIORENDER_H
Interface for rendering a YARP-format sound and controlling its reproduction ona device.
virtual ~IAudioRender()
Destructor.
virtual bool isPlaying(bool &playback_enabled)=0
Check if the playback has been enabled (e.g.
virtual bool renderSound(const yarp::sig::Sound &sound)=0
Render a sound using a device (i.e.
virtual bool resetPlaybackAudioBuffer()=0
virtual bool startPlayback()=0
Start the playback.
virtual bool getPlaybackAudioBufferMaxSize(yarp::sig::AudioBufferSize &size)=0
virtual bool setSWGain(double gain)=0
Sets a software gain for the played audio.
virtual bool setHWGain(double gain)=0
Sets the hardware gain of the playback device (if supported by the hardware)
virtual bool stopPlayback()=0
Stop the playback.
virtual bool getPlaybackAudioBufferCurrentSize(yarp::sig::AudioBufferSize &size)=0
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
For streams capable of holding different kinds of content, check what they actually have.