From 8987d9a889fb908b038e5615baab5403adf3073e Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 2 Jan 2017 11:13:11 -0600 Subject: SCI32: Enable playback of stereo audio --- engines/sci/video/robot_decoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/video') 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; } -- cgit v1.2.3