bug fix: avoid hard clipping for Mute Stream

This commit is contained in:
Volker Fischer 2020-04-16 20:08:54 +02:00
parent 07bf588ba4
commit a76491c3e6

View file

@ -1131,7 +1131,8 @@ fflush(pFileDelay);
{
for ( i = 0; i < iStereoBlockSizeSam; i++ )
{
vecsStereoSndCrd[i] += vecsStereoSndCrdTMP[i];
vecsStereoSndCrd[i] = Double2Short (
static_cast<double> ( vecsStereoSndCrd[i] ) + vecsStereoSndCrdTMP[i] );
}
}