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 --- Alc/ALc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Alc/ALc.c') 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 #include #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); -- cgit v1.2.3