mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Set the mixer to use the maximum volume. BS2 has its own volume settings,
and we want them to go all the way up to eleven. svn-id: r10362
This commit is contained in:
+5
-2
@@ -109,8 +109,11 @@ Sword2State::Sword2State(GameDetector *detector, OSystem *syst)
|
||||
if (!_mixer->bindToSystem(syst))
|
||||
warning("Sound initialization failed");
|
||||
|
||||
_mixer->setVolume(kDefaultSFXVolume * kDefaultMasterVolume / 255);
|
||||
_mixer->setMusicVolume(kDefaultMusicVolume * kDefaultMasterVolume / 255);
|
||||
// We have our own volume settings panel, so don't let ScummVM's mixer
|
||||
// soften the sound in any way.
|
||||
|
||||
_mixer->setVolume(256);
|
||||
_mixer->setMusicVolume(256);
|
||||
|
||||
g_sound = _sound = new Sword2Sound(_mixer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user