diff options
author | Kari Salminen | 2008-08-08 14:46:19 +0000 |
---|---|---|
committer | Kari Salminen | 2008-08-08 14:46:19 +0000 |
commit | 70760a77fdb42a18ea9997f7a3c74b613c589af6 (patch) | |
tree | 38a69d86b1d21b0c1902b30bd74b8fa7f88b7e9e | |
parent | 5cb08bd1e5aca23f685caee0544a77d4824cec15 (diff) | |
download | scummvm-rg350-70760a77fdb42a18ea9997f7a3c74b613c589af6.tar.gz scummvm-rg350-70760a77fdb42a18ea9997f7a3c74b613c589af6.tar.bz2 scummvm-rg350-70760a77fdb42a18ea9997f7a3c74b613c589af6.zip |
Partially fix Adlib volume setting in Cine (Now uses music volume for Adlib volume, previously always played with full volume. Doesn't differentiate between playing sound effects and music!).
svn-id: r33700
-rw-r--r-- | engines/cine/cine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index 2caf69da6c..4726e47732 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -57,6 +57,10 @@ CineEngine::CineEngine(OSystem *syst, const CINEGameDescription *gameDesc) : Eng // Setup mixer _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume")); + // Use music volume for plain sound types (At least the Adlib player uses a plain sound type + // so previously the music and sfx volume controls didn't affect it at all). + // FIXME: Make Adlib player differentiate between playing sound effects and music and remove this. + _mixer->setVolumeForSoundType(Audio::Mixer::kPlainSoundType, ConfMan.getInt("music_volume")); g_cine = this; |