aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohannes Schickel2014-01-16 22:08:11 +0100
committerJohannes Schickel2014-01-16 22:18:47 +0100
commit5ea87462e4d4959cd903229d380f186f89b37644 (patch)
tree0f7f24e19684eeb8e8333a58f346b21de59caee1 /audio
parentf60b6cb17d138eadbefad42e20bc8554fc2fd633 (diff)
downloadscummvm-rg350-5ea87462e4d4959cd903229d380f186f89b37644.tar.gz
scummvm-rg350-5ea87462e4d4959cd903229d380f186f89b37644.tar.bz2
scummvm-rg350-5ea87462e4d4959cd903229d380f186f89b37644.zip
AUDIO: Register MT-32 emulator as plain sound type.
Formerly the audio stream was registered as sfx. This is incorrect behavior since the client code will control music volume with MIDI events on its own. It seems 67b311713d8f4cfcd460a9649e0075f24278a048 introduced this very long ago. This should fix unintended coupling of sfx volume and music volume in BASS.
Diffstat (limited to 'audio')
-rw-r--r--audio/softsynth/mt32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp
index 2a90b583f3..4824761f0c 100644
--- a/audio/softsynth/mt32.cpp
+++ b/audio/softsynth/mt32.cpp
@@ -230,7 +230,7 @@ int MidiDriver_MT32::open() {
g_system->updateScreen();
- _mixer->playStream(Audio::Mixer::kSFXSoundType, &_mixerSoundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
+ _mixer->playStream(Audio::Mixer::kPlainSoundType, &_mixerSoundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
return 0;
}