aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Fisher2004-11-28 23:57:33 +0000
committerJerome Fisher2004-11-28 23:57:33 +0000
commit9df1a8ea2f288c64beba8793e8cfd83da911a65d (patch)
tree33864babe8b6b9b578bc0d473d017d0a37ca8b23
parentd6d3e5422b1abfb4ebf147b39881ff08ca5289a0 (diff)
downloadscummvm-rg350-9df1a8ea2f288c64beba8793e8cfd83da911a65d.tar.gz
scummvm-rg350-9df1a8ea2f288c64beba8793e8cfd83da911a65d.tar.bz2
scummvm-rg350-9df1a8ea2f288c64beba8793e8cfd83da911a65d.zip
Fingolfin, I see what you mean about the volume control mess :)
This fixes Adlib playback, which was previously always mixed at volume 0. svn-id: r15956
-rw-r--r--queen/queen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp
index 240a55529d..54074c00ee 100644
--- a/queen/queen.cpp
+++ b/queen/queen.cpp
@@ -343,6 +343,8 @@ int QueenEngine::init(GameDetector &detector) {
if (!_mixer->isReady())
warning("Sound initialisation failed.");
_mixer->setVolume(ConfMan.getInt("sfx_volume"));
+ // Set mixer music volume to maximum, since music volume is regulated by MusicPlayer's MIDI messages
+ _mixer->setMusicVolume(256);
int midiDriver = GameDetector::detectMusicDriver(MDT_NATIVE | MDT_ADLIB | MDT_PREFER_NATIVE);
MidiDriver *driver = GameDetector::createMidi(midiDriver);