aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/video
diff options
context:
space:
mode:
authorColin Snover2017-01-02 11:13:11 -0600
committerColin Snover2017-01-09 19:34:54 -0600
commit8987d9a889fb908b038e5615baab5403adf3073e (patch)
tree2bbd42d35b19645f090befb1546df2fc7a71f194 /engines/sci/video
parent3e2f4a66f60ecebd2ee2cd42a303b881688bd626 (diff)
downloadscummvm-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.cpp4
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;
}