aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-16 14:01:24 -0800
committerChris Robinson <[email protected]>2008-01-16 14:01:24 -0800
commitbe34dbe608b2e1a2d8239f00ad5ee0c2a902178d (patch)
tree1986b7c6f91e8a2537a20a1927f4b0027b55f8c7
parent70102e7cd39185a01e909a318e7564d1595125e2 (diff)
Don't include alAuxEffectSlot.h in alSource.h
-rw-r--r--Alc/ALc.c1
-rw-r--r--Alc/ALu.c1
-rw-r--r--OpenAL32/Include/alSource.h3
-rw-r--r--OpenAL32/alSource.c1
4 files changed, 4 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 2727aa33..dfd6b4b9 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -33,6 +33,7 @@
#include "alThunk.h"
#include "alSource.h"
#include "alExtension.h"
+#include "alAuxEffectSlot.h"
#include "bs2b.h"
///////////////////////////////////////////////////////
diff --git a/Alc/ALu.c b/Alc/ALu.c
index df5ad6b0..9b2fd33a 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -30,6 +30,7 @@
#include "alBuffer.h"
#include "alThunk.h"
#include "alListener.h"
+#include "alAuxEffectSlot.h"
#include "bs2b.h"
#if defined(HAVE_STDINT_H)
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index c0e829ae..83b8193c 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -7,7 +7,6 @@
#define MAX_SENDS 1
#include "alFilter.h"
-#include "alAuxEffectSlot.h"
#include "AL/al.h"
#define AL_DIRECT_FILTER 0x20005
@@ -67,7 +66,7 @@ typedef struct ALsource
ALfilter DirectFilter;
struct {
- ALeffectslot *Slot;
+ struct ALeffectslot *Slot;
ALfilter WetFilter;
} Send[MAX_SENDS];
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index ee8bb49e..e180b3d7 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -28,6 +28,7 @@
#include "alSource.h"
#include "alBuffer.h"
#include "alThunk.h"
+#include "alAuxEffectSlot.h"
static ALvoid InitSourceParams(ALsource *pSource);
static ALboolean GetSourceOffset(ALsource *pSource, ALenum eName, ALfloat *pflOffset);