aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
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 /Alc
parenta281027876f8ba0f7abf36c2864c3f7cfc984408 (diff)
Report one max auxiliary send per source
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index c3dd083e..aba408f4 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <memory.h>
#include "alMain.h"
+#include "alSource.h"
#include "AL/al.h"
#include "AL/alc.h"
@@ -696,7 +697,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsize
if(!size)
SetALCError(ALC_INVALID_VALUE);
else
- *data = 0; /* FIXME: Should be 1 or more */
+ *data = MAX_SENDS;
break;
case ALC_ATTRIBUTES_SIZE:
@@ -736,7 +737,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsize
data[i++] = device->Context->lNumStereoSources;
data[i++] = ALC_MAX_AUXILIARY_SENDS;
- data[i++] = 0; /* FIXME */
+ data[i++] = MAX_SENDS;
}
ProcessContext(NULL);