aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{