aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-01-22 19:03:12 -0600
committerColin Snover2017-03-30 19:46:27 -0500
commit3de6f290e7724369424ec33dd56b60fbc393460c (patch)
treeb45b015d7b78733d0057c886331b1a8471cb784c /engines
parentdd230858455171dbd618118e7516fccc11a97202 (diff)
downloadscummvm-rg350-3de6f290e7724369424ec33dd56b60fbc393460c.tar.gz
scummvm-rg350-3de6f290e7724369424ec33dd56b60fbc393460c.tar.bz2
scummvm-rg350-3de6f290e7724369424ec33dd56b60fbc393460c.zip
SCI: Change default master MIDI volume to 15
GK1 handles MIDI volume by changing the volumes of individual sound objects, rather than by using the MIDI master volume. As a result, the master volume needs to default to the maximum output level in order for GK1 to play music at the correct volume. This change does not affect earlier games, since SCI16 managed MIDI volume via the master volume, and for these games the master volume from ScummVM is synced at startup.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 1808cf367f..dd9fbcb456 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -38,7 +38,7 @@
namespace Sci {
SciMusic::SciMusic(SciVersion soundVersion, bool useDigitalSFX)
- : _soundVersion(soundVersion), _soundOn(true), _masterVolume(0), _globalReverb(0), _useDigitalSFX(useDigitalSFX) {
+ : _soundVersion(soundVersion), _soundOn(true), _masterVolume(15), _globalReverb(0), _useDigitalSFX(useDigitalSFX) {
// Reserve some space in the playlist, to avoid expensive insertion
// operations