17 #ifndef _GAZEBO_OPENAL_HH_
18 #define _GAZEBO_OPENAL_HH_
29 #include "gazebo/gazebo_config.h"
33 struct ALCcontext_struct;
34 struct ALCdevice_struct;
55 private:
virtual ~
OpenAL();
59 public:
bool Load(sdf::ElementPtr _sdf = sdf::ElementPtr());
76 private: ALCcontext_struct *context;
79 private: ALCdevice_struct *audioDevice;
122 public:
bool Load(sdf::ElementPtr _sdf);
142 public:
bool SetGain(
float _g);
147 public:
bool SetLoop(
bool _state);
170 public:
void Pause();
194 private:
unsigned int alSource;
197 private:
unsigned int alBuffer;
201 private: std::vector<std::string> collisionNames;