Not clamping float audio now; better mix quality

This commit is contained in:
Jack Andersen
2016-06-14 17:53:37 -10:00
parent e62e8952b5
commit 7410e17179
7 changed files with 31 additions and 34 deletions

View File

@@ -116,7 +116,7 @@ void AudioSubmix::_pumpAndMixVoices(size_t frames, float* dataOut, float* mainOu
for (size_t f=0 ; f<frames ; ++f)
for (size_t c=0 ; c<info.m_channelMap.m_channelCount ; ++c)
{
*dataOut = ClampFlt(*dataOut + *it++ * m_gains[c]);
*dataOut = *dataOut + *it++ * m_gains[c];
++dataOut;
}
}