diff options
author | Chris Robinson <[email protected]> | 2009-04-11 20:04:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-04-11 20:04:46 -0700 |
commit | c67fbd72dd9cb2dcc21b690c94ff8dc39bc0d34a (patch) | |
tree | 919a073b5f662ed32cc518208aeb73d389c78880 /OpenAL32/Include/alSource.h | |
parent | 30f57d0824826c38d8991f041ea8870e19b44033 (diff) |
Pay attention to the MAX_SENDS value
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index b79f43d6..d3d70b00 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -3,7 +3,6 @@ #define AL_NUM_SOURCE_PARAMS 128 -/* This cannot be changed without working on the code! */ #define MAX_SENDS 1 #include "alFilter.h" @@ -96,7 +95,7 @@ typedef struct ALsource // Current gains, which are ramped while mixed ALfloat DryGains[OUTPUTCHANNELS]; - ALfloat WetGain; + ALfloat WetGains[MAX_SENDS]; ALboolean FirstStart; struct ALsource *next; |