mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-13 11:21:06 +00:00
Initialize synth.midi-channels unconditionally.
This commit is contained in:
parent
6cec702c82
commit
9b94dd2e04
1 changed files with 1 additions and 1 deletions
|
@ -514,9 +514,9 @@ new_fluid_winmidi_driver(fluid_settings_t *settings,
|
|||
}
|
||||
|
||||
fluid_settings_getint(settings, "midi.autoconnect", &autoconnect);
|
||||
fluid_settings_getint(settings, "synth.midi-channels", &synth_midi_channels);
|
||||
if ((autoconnect) && (FLUID_STRCASECMP(dev_name, "default") == 0))
|
||||
{
|
||||
fluid_settings_getint(settings, "synth.midi-channels", &synth_midi_channels);
|
||||
max_devices = midiInGetNumDevs(); /* get number of real devices installed */
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue