mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
AUDIO: Register FluidSynth driver as plain sound type.
MIDI code will control volume via MIDI events thus the generated audio should not be affected by mixer sound volumes. The initial commit(s) in d4d045b1174b4a48659f39f026ade42684b679bf / 13dc149ded691e718905049990dd0220230c500e added it as music sound type. So, this seems to be a long standing issue.
This commit is contained in:
parent
5ea87462e4
commit
d99f23fb10
@ -184,8 +184,7 @@ int MidiDriver_FluidSynth::open() {
|
||||
|
||||
MidiDriver_Emulated::open();
|
||||
|
||||
// The MT-32 emulator uses kSFXSoundType here. I don't know why.
|
||||
_mixer->playStream(Audio::Mixer::kMusicSoundType, &_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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user