summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-23 16:13:46 -0700
committerChris Robinson <[email protected]>2014-03-23 16:13:46 -0700
commita25260ea8a63629b0daa03a7beb9b72b53588d2b (patch)
tree0aec6925712f35d2df39f3e05d4dca4862c7109c /Alc
parentf5e10b99451cff5928cc41f17a56b26fbf12a72a (diff)
Identity gain step is 1, not 0
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c
index c5091322..87e8c8e0 100644
--- a/Alc/mixer_c.c
+++ b/Alc/mixer_c.c
@@ -94,7 +94,7 @@ void MixDirect_C(DirectParams *params, const ALfloat *restrict data, ALuint srcc
{
ALuint pos = 0;
Step = params->Mix.Gains.Step[srcchan][c];
- if(Step != 0.0f && Counter > 0)
+ if(Step != 1.0f && Counter > 0)
{
DrySend = params->Mix.Gains.Current[srcchan][c];
for(;pos < BufferSize && pos < Counter;pos++)