aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-03 03:18:18 -0700
committerChris Robinson <[email protected]>2011-07-03 03:18:18 -0700
commit69be02c0fdba3cda8319a6299de1d45b5c695735 (patch)
tree636941f07615f754fcd81bed0de6813d875f53bc /Alc/ALc.c
parenteefda551deb22dc206d7d015012b62c03eb780ed (diff)
Set the default auxiliary sends to MAX_SENDS
Since the property is ALC_MAX_AUXILIARY_SENDS, it makes more sense to default it to the maximum and let the app lower it on request.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 6d9deb45..b0842819 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2652,7 +2652,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
device->NumStereoSources = 1;
device->NumMonoSources = device->MaxNoOfSources - device->NumStereoSources;
- device->NumAuxSends = GetConfigValueInt(NULL, "sends", 1);
+ device->NumAuxSends = GetConfigValueInt(NULL, "sends", MAX_SENDS);
if(device->NumAuxSends > MAX_SENDS)
device->NumAuxSends = MAX_SENDS;
@@ -2816,7 +2816,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void)
device->NumStereoSources = 1;
device->NumMonoSources = device->MaxNoOfSources - device->NumStereoSources;
- device->NumAuxSends = GetConfigValueInt(NULL, "sends", 1);
+ device->NumAuxSends = GetConfigValueInt(NULL, "sends", MAX_SENDS);
if(device->NumAuxSends > MAX_SENDS)
device->NumAuxSends = MAX_SENDS;