aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-17 19:42:55 +0000
committerTorbjörn Andersson2006-05-17 19:42:55 +0000
commitc27b1201d44814b338e97f4a91fdf8feb632f2e0 (patch)
tree4ff690c80e4a2a9aade3fb11b230af0e80e48b42
parentf7c29ccc8b001eb8d69f1e3d845c6ad04e38fc95 (diff)
downloadscummvm-rg350-c27b1201d44814b338e97f4a91fdf8feb632f2e0.tar.gz
scummvm-rg350-c27b1201d44814b338e97f4a91fdf8feb632f2e0.tar.bz2
scummvm-rg350-c27b1201d44814b338e97f4a91fdf8feb632f2e0.zip
Fixed crackling in Kyra 3 sound. (At least what little of it ScummVM currently
plays before finishing.) svn-id: r22499
-rw-r--r--engines/kyra/sound_digital.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_digital.cpp b/engines/kyra/sound_digital.cpp
index 6be1e1f2ef..9bfe788b62 100644
--- a/engines/kyra/sound_digital.cpp
+++ b/engines/kyra/sound_digital.cpp
@@ -180,7 +180,7 @@ int AUDStream::readChunk(int16 *buffer, const int maxSamples) {
return 0;
}
- int16 curSample = 0;
+ int16 curSample = 0x80;
byte code = 0;
int8 count = 0;
uint16 input = 0;