summaryrefslogtreecommitdiffstats
path: root/src/sound
diff options
context:
space:
mode:
authorDidier 'OdyX' Raboud <didier@raboud.com>2013-10-23 10:02:41 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-10-24 21:12:52 +0200
commit591ba30a0051c856c8b877b8687f071e0212e28c (patch)
treecb5d404d17001a3572e8c2a43aadd0cf522738e2 /src/sound
parentb3b6a40d9ebe0ceeb1ce34f4de8acf57dc07fca0 (diff)
downloadcolobot-591ba30a0051c856c8b877b8687f071e0212e28c.tar.gz
colobot-591ba30a0051c856c8b877b8687f071e0212e28c.tar.bz2
colobot-591ba30a0051c856c8b877b8687f071e0212e28c.zip
Include the OpenAL headers using the "al.h" form, as recommended by its CMake finder script
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/oalsound/alsound.h2
-rw-r--r--src/sound/oalsound/buffer.h2
-rw-r--r--src/sound/oalsound/channel.h4
-rw-r--r--src/sound/oalsound/check.h6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/sound/oalsound/alsound.h b/src/sound/oalsound/alsound.h
index ad32204..cd44ae9 100644
--- a/src/sound/oalsound/alsound.h
+++ b/src/sound/oalsound/alsound.h
@@ -32,7 +32,7 @@
#include <map>
#include <string>
-#include <AL/al.h>
+#include <al.h>
class ALSound : public CSoundInterface
diff --git a/src/sound/oalsound/buffer.h b/src/sound/oalsound/buffer.h
index d847426..e693d75 100644
--- a/src/sound/oalsound/buffer.h
+++ b/src/sound/oalsound/buffer.h
@@ -30,7 +30,7 @@
#include <vector>
#include <array>
-#include <AL/al.h>
+#include <al.h>
#include <sndfile.h>
class Buffer
diff --git a/src/sound/oalsound/channel.h b/src/sound/oalsound/channel.h
index a04b509..2930f26 100644
--- a/src/sound/oalsound/channel.h
+++ b/src/sound/oalsound/channel.h
@@ -30,8 +30,8 @@
#include <deque>
#include <cassert>
-#include <AL/al.h>
-#include <AL/alc.h>
+#include <al.h>
+#include <alc.h>
struct SoundOper
{
diff --git a/src/sound/oalsound/check.h b/src/sound/oalsound/check.h
index f677e17..b8f67c0 100644
--- a/src/sound/oalsound/check.h
+++ b/src/sound/oalsound/check.h
@@ -18,11 +18,11 @@
#pragma once
-#include <AL/al.h>
-#include <AL/alc.h>
-
#include "common/logger.h"
+#include <al.h>
+#include <alc.h>
+
static ALenum CODE = AL_NO_ERROR;
inline bool alCheck()