mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 06:58:34 +00:00
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
This commit is contained in:
parent
d6d3e5422b
commit
9df1a8ea2f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user