mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
dont register synth.default-soundfont if not defined
This commit is contained in:
parent
cdd9f75112
commit
d1cc61745c
1 changed files with 3 additions and 1 deletions
|
@ -184,8 +184,10 @@ void fluid_synth_settings(fluid_settings_t* settings)
|
|||
FLUID_HINT_TOGGLED, NULL, NULL);
|
||||
fluid_settings_register_str(settings, "midi.portname", "", 0, NULL, NULL);
|
||||
|
||||
#ifdef DEFAULT_SOUNDFONT
|
||||
fluid_settings_register_str(settings, "synth.default-soundfont",
|
||||
DEFAULT_SOUNDFONT, 0, NULL, NULL);
|
||||
DEFAULT_SOUNDFONT, 0, NULL, NULL);
|
||||
#endif
|
||||
|
||||
fluid_settings_register_int(settings, "synth.polyphony",
|
||||
256, 1, 65535, 0, NULL, NULL);
|
||||
|
|
Loading…
Reference in a new issue