aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-10-09 20:58:12 -0700
committerChris Robinson <[email protected]>2008-10-09 20:58:12 -0700
commit11397f76675adb7d6036821e3df2363c14913961 (patch)
treedc533740b9825fa6ec56d086be59e8eaa37fdb41
parent6e9e8239ef95eac5962ceb6a44d3fab1e576395f (diff)
Commit missing changes
-rw-r--r--OpenAL32/Include/alSource.h2
-rw-r--r--OpenAL32/alSource.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 753553b2..01c06b91 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -98,7 +98,7 @@ typedef struct ALsource
// Current gains, which are ramped while mixed
ALfloat DryGains[OUTPUTCHANNELS];
- ALfloat WetGains[OUTPUTCHANNELS];
+ ALfloat WetGain;
struct ALsource *next;
} ALsource;
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index fefbdf08..61991b2e 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1400,10 +1400,8 @@ ALAPI ALvoid ALAPIENTRY alSourcePlayv(ALsizei n, const ALuint *pSourceList)
if (bPlay)
{
for(j = 0;j < OUTPUTCHANNELS;j++)
- {
pSource->DryGains[j] = 0.0f;
- pSource->WetGains[j] = 0.0f;
- }
+ pSource->WetGain = 0.0f;
if (pSource->state != AL_PAUSED)
{