aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorJonathan Gray2005-08-10 06:16:26 +0000
committerJonathan Gray2005-08-10 06:16:26 +0000
commit3c1b5648aed0be45b303cea49e7537c98dd4a001 (patch)
treebd810ba197c9ceeab024be3f4b602c558b92019f /scumm/sound.cpp
parentc6c5c8f868c0c0ea37ddef156b8581d304ad5cac (diff)
downloadscummvm-rg350-3c1b5648aed0be45b303cea49e7537c98dd4a001.tar.gz
scummvm-rg350-3c1b5648aed0be45b303cea49e7537c98dd4a001.tar.bz2
scummvm-rg350-3c1b5648aed0be45b303cea49e7537c98dd4a001.zip
Rest of the changes required for tremor to actually work.
Based on patches against 0.7.1 by Jolan Luff. svn-id: r18641
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index a3ea155c6f..00d9d48610 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -792,7 +792,7 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, Audio::SoundHandle
#endif
break;
case kVorbisMode:
- #ifdef USE_VORBIS
+ #if defined(USE_VORBIS) || defined(USE_TREMOR)
assert(size > 0);
input = makeVorbisStream(_sfxFile, size);
#endif
@@ -1124,7 +1124,7 @@ ScummFile *Sound::openSfxFile() {
#ifdef USE_FLAC
{ "sof", kFlacMode },
#endif
- #ifdef USE_VORBIS
+ #if defined(USE_VORBIS) || defined(USE_TREMOR)
{ "sog", kVorbisMode },
#endif
#ifdef USE_MAD