Fixed typo in encoder input saturation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5935 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
7e7477a2e6
commit
583e9bc73e
|
@ -231,7 +231,7 @@ void AmrTrans::filterBias(short* buf, unsigned int len)
|
|||
// substract the averaged bias and saturate
|
||||
val -= m_bias / 16;
|
||||
if (val > 32767)
|
||||
val = 32676;
|
||||
val = 32767;
|
||||
else if (val < -32767)
|
||||
val = -32767;
|
||||
*buf++ = val;
|
||||
|
|
Loading…
Reference in New Issue