bug fix: avoid hard clipping for Mute Stream
This commit is contained in:
parent
07bf588ba4
commit
a76491c3e6
1 changed files with 2 additions and 1 deletions
|
@ -1131,7 +1131,8 @@ fflush(pFileDelay);
|
||||||
{
|
{
|
||||||
for ( i = 0; i < iStereoBlockSizeSam; i++ )
|
for ( i = 0; i < iStereoBlockSizeSam; i++ )
|
||||||
{
|
{
|
||||||
vecsStereoSndCrd[i] += vecsStereoSndCrdTMP[i];
|
vecsStereoSndCrd[i] = Double2Short (
|
||||||
|
static_cast<double> ( vecsStereoSndCrd[i] ) + vecsStereoSndCrdTMP[i] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue