aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alSource.h6
-rw-r--r--OpenAL32/alSource.c5
2 files changed, 1 insertions, 10 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 9cee835b..c18b8629 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -81,12 +81,8 @@ typedef struct ALsource
// Source Type (Static, Streaming, or Undetermined)
ALint lSourceType;
- // Current gains, which are ramped while mixed
- ALfloat DryGains[OUTPUTCHANNELS];
- ALfloat WetGains[MAX_SENDS];
- ALboolean FirstStart;
-
// Current target parameters used for mixing
+ ALboolean FirstStart;
ALboolean NeedsUpdate;
struct {
ALfloat DryGains[OUTPUTCHANNELS];
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 5435e5d0..7e699816 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1345,11 +1345,6 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
continue;
}
- for(j = 0;j < OUTPUTCHANNELS;j++)
- Source->DryGains[j] = 0.0f;
- for(j = 0;j < MAX_SENDS;j++)
- Source->WetGains[j] = 0.0f;
-
if(Source->state != AL_PAUSED)
{
Source->state = AL_PLAYING;