mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
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
This commit is contained in:
parent
5cb08bd1e5
commit
70760a77fd
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user