aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-18 18:13:49 -0800
committerChris Robinson <[email protected]>2007-12-18 18:13:49 -0800
commit919b8c5bd1ff52afee01712010a1c7dd670ddbf8 (patch)
tree9290317f7e6c4df2f916becaddd07498edae60c3 /OpenAL32/Include
parenta281027876f8ba0f7abf36c2864c3f7cfc984408 (diff)
Report one max auxiliary send per source
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h5
1 files changed, 4 insertions, 1 deletions
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;