bugfix
This commit is contained in:
parent
a74d80c67c
commit
3a558b03b2
|
@ -962,7 +962,7 @@ software_imbe_decoder::decode_tap(int _L, int _K, float _w0, const int * _v, con
|
||||||
if(abs((int)sample) > 32767) {
|
if(abs((int)sample) > 32767) {
|
||||||
sample = (sample < 0) ? -32767 : 32767; // * sgn(sample)
|
sample = (sample < 0) ? -32767 : 32767; // * sgn(sample)
|
||||||
}
|
}
|
||||||
samples->push_back((short)sample);
|
samples->push_back(sample);
|
||||||
}
|
}
|
||||||
OldL = L;
|
OldL = L;
|
||||||
Oldw0 = w0;
|
Oldw0 = w0;
|
||||||
|
|
Loading…
Reference in New Issue