aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-29 15:33:07 +0000
committerTravis Howell2005-04-29 15:33:07 +0000
commitce909a35b3ba692798e5d74d113d1c5e1890a0c0 (patch)
treed19281e9558ee98c7278823348a183ce6a84b3c1 /scumm/sound.cpp
parent3911fc6edb6b28cf895719deb260d416130517f0 (diff)
downloadscummvm-rg350-ce909a35b3ba692798e5d74d113d1c5e1890a0c0.tar.gz
scummvm-rg350-ce909a35b3ba692798e5d74d113d1c5e1890a0c0.tar.bz2
scummvm-rg350-ce909a35b3ba692798e5d74d113d1c5e1890a0c0.zip
Some sound resources in soccer2004 are compressed too.
Add Moonbase demo, as testing target only. svn-id: r17866
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 8226c204d7..e759b52275 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -294,7 +294,8 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) {
Common::MemoryReadStream stream(ptr, size);
if (!loadWAVFromStream(stream, size, rate, flags)) {
- error("playSound: Not a valid WAV file");
+ warning("playSound: IMA ADPCM compression not supported");
+ return;
}
// Allocate a sound buffer, copy the data into it, and play