#include <yarp/dev/IAudioRender.h>
Public Member Functions | |
virtual | ~IAudioRender () |
Destructor. More... | |
virtual bool | renderSound (const yarp::sig::Sound &sound)=0 |
Render a sound using a device (i.e. More... | |
virtual bool | startPlayback ()=0 |
Start the playback. More... | |
virtual bool | stopPlayback ()=0 |
Stop the playback. More... | |
virtual bool | getPlaybackAudioBufferMaxSize (yarp::dev::AudioBufferSize &size)=0 |
virtual bool | getPlaybackAudioBufferCurrentSize (yarp::dev::AudioBufferSize &size)=0 |
virtual bool | resetPlaybackAudioBuffer ()=0 |
Definition at line 20 of file IAudioRender.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Implemented in PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, fakeSpeaker, and audioToFileDevice.
|
pure virtual |
Implemented in PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, fakeSpeaker, and audioToFileDevice.
|
pure virtual |
Render a sound using a device (i.e.
send it to the speakers).
sound | the sound to be rendered |
Implemented in PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, fakeSpeaker, and audioToFileDevice.
|
pure virtual |
Implemented in PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, fakeSpeaker, and audioToFileDevice.
|
pure virtual |
Start the playback.
Implemented in PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, fakeSpeaker, and audioToFileDevice.
|
pure virtual |
Stop the playback.
Implemented in PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, fakeSpeaker, and audioToFileDevice.