aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-01-30 17:30:06 +0000
committerMax Horn2004-01-30 17:30:06 +0000
commit8bd19dab0b5da51f28e80f8550c50527e0801252 (patch)
tree698ff86b95e6e649f1bb7e21dd5251b8f65d31d6
parentd9cb0b1e791ae93426d3b0bd7064763d751d5623 (diff)
downloadscummvm-rg350-8bd19dab0b5da51f28e80f8550c50527e0801252.tar.gz
scummvm-rg350-8bd19dab0b5da51f28e80f8550c50527e0801252.tar.bz2
scummvm-rg350-8bd19dab0b5da51f28e80f8550c50527e0801252.zip
Fix for bug #887167 (FT: Sound/Music/speech (almost) mute)
svn-id: r12675
-rw-r--r--scumm/smush/saud_channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/smush/saud_channel.cpp b/scumm/smush/saud_channel.cpp
index a8c6fc9570..629ab95fc5 100644
--- a/scumm/smush/saud_channel.cpp
+++ b/scumm/smush/saud_channel.cpp
@@ -248,8 +248,8 @@ int32 SaudChannel::availableSoundData(void) const {
void SaudChannel::getSoundData(int16 *snd, int32 size) {
for (int32 i = 0; i < size; i++) {
- snd[2 * i] = _sbuffer[i] ^ 0x80;
- snd[2 * i + 1] = _sbuffer[i] ^ 0x80;
+ snd[2 * i] = TO_LE_16(_sbuffer[i] ^ 0x80);
+ snd[2 * i + 1] = TO_LE_16(_sbuffer[i] ^ 0x80);
}
if (!_keepSize)
_dataSize -= size;