diff options
author | Jonathan Gray | 2005-08-10 06:16:26 +0000 |
---|---|---|
committer | Jonathan Gray | 2005-08-10 06:16:26 +0000 |
commit | 3c1b5648aed0be45b303cea49e7537c98dd4a001 (patch) | |
tree | bd810ba197c9ceeab024be3f4b602c558b92019f /queen | |
parent | c6c5c8f868c0c0ea37ddef156b8581d304ad5cac (diff) | |
download | scummvm-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 'queen')
-rw-r--r-- | queen/sound.cpp | 4 | ||||
-rw-r--r-- | queen/sound.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp index 97f464989c..d9f3b84cc5 100644 --- a/queen/sound.cpp +++ b/queen/sound.cpp @@ -60,7 +60,7 @@ Sound *Sound::giveSound(Audio::Mixer *mixer, QueenEngine *vm, uint8 compression) #endif break; case COMPRESSION_OGG: -#ifndef USE_VORBIS +#if !defined(USE_VORBIS) && !defined(USE_TREMOR) warning("Using OGG compressed datafile, but OGG support not compiled in"); return new SilentSound(mixer, vm); #else @@ -205,7 +205,7 @@ void MP3Sound::sfxPlay(const char *name, bool isSpeech) { } #endif -#ifdef USE_VORBIS +#if defined(USE_VORBIS) || defined(USE_TREMOR) void OGGSound::sfxPlay(const char *name, bool isSpeech) { uint32 size; Common::File *f = _vm->resource()->giveCompressedSound(name, &size); diff --git a/queen/sound.h b/queen/sound.h index 5ab078d150..fdc6cd2e03 100644 --- a/queen/sound.h +++ b/queen/sound.h @@ -138,7 +138,7 @@ public: }; #endif -#ifdef USE_VORBIS +#if defined(USE_VORBIS) || defined(USE_TREMOR) class OGGSound : public Sound { public: OGGSound(Audio::Mixer *mixer, QueenEngine *vm) : Sound(mixer, vm) {}; |