[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.89,1.90
Jonathan Gray
khalek at users.sourceforge.net
Wed Aug 10 05:46:29 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound audiocd.cpp,1.23,1.24 audiostream.cpp,1.76,1.77 vorbis.cpp,1.28,1.29 vorbis.h,1.12,1.13
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga interface.cpp,1.125,1.126 interface.h,1.69,1.70 scene.cpp,1.140,1.141 sthread.cpp,1.99,1.100
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26483/simon
Modified Files:
sound.cpp
Log Message:
Don't explicity check for tremor and vorbis everywhere and
require both USE_TREMOR and USE_VORBIS to be defined when
using tremor.
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- sound.cpp 10 Aug 2005 06:16:25 -0000 1.89
+++ sound.cpp 10 Aug 2005 12:42:56 -0000 1.90
@@ -183,7 +183,7 @@
}
#endif
-#if defined(USE_VORBIS) || defined(USE_TREMOR)
+#ifdef USE_VORBIS
class VorbisSound : public BaseSound {
public:
VorbisSound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {};
@@ -271,7 +271,7 @@
}
}
#endif
-#if defined(USE_VORBIS) || defined(USE_TREMOR)
+#ifdef USE_VORBIS
if (!_voice && gss->vorbis_filename && gss->vorbis_filename[0]) {
file->open(gss->vorbis_filename);
if (file->isOpen()) {
@@ -323,7 +323,7 @@
}
}
#endif
-#if defined(USE_VORBIS) || defined(USE_TREMOR)
+#ifdef USE_VORBIS
if (!_effects && gss->vorbis_effects_filename && gss->vorbis_effects_filename[0]) {
file->open(gss->vorbis_effects_filename);
if (file->isOpen()) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound audiocd.cpp,1.23,1.24 audiostream.cpp,1.76,1.77 vorbis.cpp,1.28,1.29 vorbis.h,1.12,1.13
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga interface.cpp,1.125,1.126 interface.h,1.69,1.70 scene.cpp,1.140,1.141 sthread.cpp,1.99,1.100
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list