From 5ea87462e4d4959cd903229d380f186f89b37644 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 16 Jan 2014 22:08:11 +0100 Subject: 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. --- audio/softsynth/mt32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') 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; } -- cgit v1.2.3