3D audio setup and playback. More...
#include <util/util.hh>
Public Member Functions | |
OpenALSinkPtr | CreateSink (sdf::ElementPtr _sdf) |
Create an audio listener. More... | |
OpenALSourcePtr | CreateSource (sdf::ElementPtr _sdf) |
Create an OpenALSource object. More... | |
void | Fini () |
Finalize. More... | |
bool | Load (sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Load the OpenAL server. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SingletonT< T > | |
static T * | Instance () |
Get an instance of the singleton. More... | |
Protected Member Functions inherited from SingletonT< T > | |
SingletonT () | |
Constructor. More... | |
virtual | ~SingletonT () |
Destructor. More... | |
3D audio setup and playback.
OpenALSinkPtr gazebo::util::OpenAL::CreateSink | ( | sdf::ElementPtr | _sdf) |
Create an audio listener.
Currenly, only one listener may be created.
[in] | _sdf | SDF element parameters for an audio_source. |
OpenALSourcePtr gazebo::util::OpenAL::CreateSource | ( | sdf::ElementPtr | _sdf) |
Create an OpenALSource object.
[in] | _sdf | SDF element parameters for an audio_source. |
void gazebo::util::OpenAL::Fini | ( | ) |
Finalize.
bool gazebo::util::OpenAL::Load | ( | sdf::ElementPtr | _sdf = sdf::ElementPtr() ) |
Load the OpenAL server.