diff options
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 | ||||
-rw-r--r-- | alsoftrc.sample | 8 |
3 files changed, 6 insertions, 6 deletions
@@ -2071,7 +2071,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) device->NumStereoSources = 1; device->NumMonoSources = device->MaxNoOfSources - device->NumStereoSources; - device->NumAuxSends = GetConfigValueInt(NULL, "sends", MAX_SENDS); + device->NumAuxSends = GetConfigValueInt(NULL, "sends", 1); if(device->NumAuxSends > MAX_SENDS) device->NumAuxSends = MAX_SENDS; diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 41dda6bf..6d01c9fd 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -1,7 +1,7 @@ #ifndef _AL_SOURCE_H_ #define _AL_SOURCE_H_ -#define MAX_SENDS 2 +#define MAX_SENDS 4 #include "alFilter.h" #include "alu.h" diff --git a/alsoftrc.sample b/alsoftrc.sample index fe0f2c6a..d407c952 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -136,10 +136,10 @@ #slots = 4 ## sends: -# Sets the maximum number of auxiliary sends per source. The total number of -# sends possible is defined at compile time and thus can not be increased -# beyond the default (2). -#sends = 2 +# Sets the number of auxiliary sends per source. When not specified (default), +# it allows the app to request how many it wants. The maximum value currently +# possible is 4. +#sends = ## layout: # Sets the virtual speaker layout. Values are specified in degrees, where 0 is |