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:
Torbjörn Andersson
2003-09-22 14:55:17 +00:00
parent 8e28b0c6b4
commit f3f7489b49
+5 -2
View File
@@ -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);