From b4429a242c43e01c367bc02afa2c4a0e6b59dddd Mon Sep 17 00:00:00 2001
From: Eric Timmons <etimmons@mit.edu>
Date: Tue, 3 Dec 2019 13:19:21 -0500
Subject: [PATCH] Rename OpenAL types to remove _struct
OpenAL v1.20.0 removed the names ALCdevice_struct and ALCcontext_struct
(https://github.com/kcat/openal-soft/commit/399dfca1e3352050a5289be6bcd7b7dce353ccf8). Use
the types ALCdevice and ALCcontext instead.
---
gazebo/util/OpenALPrivate.hh | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/gazebo/util/OpenALPrivate.hh b/gazebo/util/OpenALPrivate.hh
index b69c72843c..30a9701f31 100644
--- a/gazebo/util/OpenALPrivate.hh
+++ b/gazebo/util/OpenALPrivate.hh
@@ -25,9 +25,6 @@
#ifdef HAVE_OPENAL
-struct ALCcontext_struct;
-struct ALCdevice_struct;
-
namespace gazebo
{
namespace util
@@ -37,10 +34,10 @@ namespace gazebo
class OpenALPrivate
{
/// \brief OpenAL audio context pointer.
- public: ALCcontext_struct *context;
+ public: ALCcontext *context;
/// \brief OpenAL audio device pointer.
- public: ALCdevice_struct *audioDevice;
+ public: ALCdevice *audioDevice;
/// \brief OpenAL sink pointer.
public: OpenALSinkPtr sink;