From 3c1b5648aed0be45b303cea49e7537c98dd4a001 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 10 Aug 2005 06:16:26 +0000 Subject: Rest of the changes required for tremor to actually work. Based on patches against 0.7.1 by Jolan Luff. svn-id: r18641 --- sword2/driver/d_sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword2') diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index f24646a9af..3b408417f1 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -51,7 +51,7 @@ static AudioStream *getAudioStream(SoundFileHandle *fh, const char *base, int cd #ifdef USE_MAD { "cl3", kMP3Mode }, #endif - #ifdef USE_VORBIS + #if defined(USE_VORBIS) || defined(USE_TREMOR) { "clg", kVorbisMode }, #endif #ifdef USE_FLAC @@ -135,7 +135,7 @@ static AudioStream *getAudioStream(SoundFileHandle *fh, const char *base, int cd case kMP3Mode: return makeMP3Stream(fh->file, enc_len); #endif -#ifdef USE_VORBIS +#if defined(USE_VORBIS) || defined(USE_TREMOR) case kVorbisMode: return makeVorbisStream(fh->file, enc_len); #endif -- cgit v1.2.3