Identity gain step is 1, not 0

This commit is contained in:
Chris Robinson 2014-03-23 16:13:46 -07:00
parent f5e10b9945
commit a25260ea8a

View File

@ -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++)