diff options
-rw-r--r-- | engines/gob/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/sound.cpp b/engines/gob/sound.cpp index f85d07138f..6b227cfb0e 100644 --- a/engines/gob/sound.cpp +++ b/engines/gob/sound.cpp @@ -333,7 +333,7 @@ int Snd::readBuffer(int16 *buffer, const int numSamples) { // Linear interpolation. See sound/rate.cpp - int32 val = (_last + (((_cur - _last) * _offsetFrac + + int16 val = (_last + (((_cur - _last) * _offsetFrac + FRAC_HALF) >> FRAC_BITS)) << 8; *buffer++ = (val * _fadeVol) >> 16; |