diff options
author | Colin Snover | 2017-01-02 11:13:11 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-09 19:34:54 -0600 |
commit | 8987d9a889fb908b038e5615baab5403adf3073e (patch) | |
tree | 2bbd42d35b19645f090befb1546df2fc7a71f194 /engines/sci/video | |
parent | 3e2f4a66f60ecebd2ee2cd42a303b881688bd626 (diff) | |
download | scummvm-rg350-8987d9a889fb908b038e5615baab5403adf3073e.tar.gz scummvm-rg350-8987d9a889fb908b038e5615baab5403adf3073e.tar.bz2 scummvm-rg350-8987d9a889fb908b038e5615baab5403adf3073e.zip |
SCI32: Enable playback of stereo audio
Diffstat (limited to 'engines/sci/video')
-rw-r--r-- | engines/sci/video/robot_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/video/robot_decoder.cpp b/engines/sci/video/robot_decoder.cpp index 446b986581..296fdf8db2 100644 --- a/engines/sci/video/robot_decoder.cpp +++ b/engines/sci/video/robot_decoder.cpp @@ -43,7 +43,7 @@ namespace Sci { #pragma mark RobotAudioStream -extern void deDPCM16(int16 *out, const byte *in, const uint32 numBytes, int16 &sample); +extern void deDPCM16Mono(int16 *out, const byte *in, const uint32 numBytes, int16 &sample); RobotAudioStream::RobotAudioStream(const int32 bufferSize) : _loopBuffer((byte *)malloc(bufferSize)), @@ -181,7 +181,7 @@ void RobotAudioStream::fillRobotBuffer(const RobotAudioPacket &packet, const int } int16 carry = 0; - deDPCM16((int16 *)_decompressionBuffer, packet.data, packet.dataSize, carry); + deDPCM16Mono((int16 *)_decompressionBuffer, packet.data, packet.dataSize, carry); _decompressionBufferPosition = packet.position; } |