diff options
author | Filippos Karapetis | 2011-12-28 13:21:19 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-28 13:21:19 +0200 |
commit | 3752396aefc43beba2df6a47221407d805cb3a7b (patch) | |
tree | 7874027837e175d147ad08af7aea29388fffa0d9 /engines/sci/sound | |
parent | 8496b5c4d8134c86735edd90e598d7d94a37bf32 (diff) | |
download | scummvm-rg350-3752396aefc43beba2df6a47221407d805cb3a7b.tar.gz scummvm-rg350-3752396aefc43beba2df6a47221407d805cb3a7b.tar.bz2 scummvm-rg350-3752396aefc43beba2df6a47221407d805cb3a7b.zip |
SCI: Always prefer digital sound effects to prevent confusion to users
This toggle will be enabled again when a more user-friendly GUI option
is possible
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 4b05a7fb11..3306a76605 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -32,9 +32,12 @@ namespace Sci { +//#define ENABLE_SFX_TYPE_SELECTION + SoundCommandParser::SoundCommandParser(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, AudioPlayer *audio, SciVersion soundVersion) : _resMan(resMan), _segMan(segMan), _kernel(kernel), _audio(audio), _soundVersion(soundVersion) { +#ifdef ENABLE_SFX_TYPE_SELECTION // Check if the user wants synthesized or digital sound effects in SCI1.1 // or later games _useDigitalSFX = ConfMan.getBool("multi_midi"); @@ -45,6 +48,10 @@ SoundCommandParser::SoundCommandParser(ResourceManager *resMan, SegManager *segM // resource number, but it's totally unrelated to the menu music). if (getSciVersion() >= SCI_VERSION_2) _useDigitalSFX = true; +#else + // Always prefer digital sound effects + _useDigitalSFX = true; +#endif _music = new SciMusic(_soundVersion, _useDigitalSFX); _music->init(); |