aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index a00f2d4c..0f4a3c7e 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -22,6 +22,7 @@
#include "atomic.h"
#include "uintmap.h"
+#include "vector.h"
#ifndef ALC_SOFT_HRTF
#define ALC_SOFT_HRTF 1
@@ -722,6 +723,10 @@ struct ALCdevice_struct
#define MIXER_THREAD_NAME "alsoft-mixer"
+typedef struct ALeffectslot *ALeffectslotPtr;
+DECL_VECTOR(ALeffectslotPtr)
+
+
struct ALCcontext_struct
{
volatile RefCount ref;
@@ -747,9 +752,7 @@ struct ALCcontext_struct
ALsizei ActiveSourceCount;
ALsizei MaxActiveSources;
- struct ALeffectslot **ActiveEffectSlots;
- ALsizei ActiveEffectSlotCount;
- ALsizei MaxActiveEffectSlots;
+ vector_ALeffectslotPtr ActiveAuxSlots;
ALCdevice *Device;
const ALCchar *ExtensionList;