From 919b8c5bd1ff52afee01712010a1c7dd670ddbf8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 18 Dec 2007 18:13:49 -0800 Subject: Report one max auxiliary send per source --- OpenAL32/Include/alSource.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 5737bad9..df8fb44d 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -3,6 +3,9 @@ #define AL_NUM_SOURCE_PARAMS 128 +/* This cannot be changed without working on the code! */ +#define MAX_SENDS 1 + #include "alFilter.h" #include "alAuxEffectSlot.h" #include "AL/al.h" @@ -66,7 +69,7 @@ typedef struct ALsource_struct struct { ALeffectslot Slot; ALfilter WetFilter; - } Send[1]; + } Send[MAX_SENDS]; ALfloat LastDrySample; ALfloat LastWetSample; -- cgit v1.2.3