Merge pull request #257 from VolcanoMobile/default_soundfont_optional

dont register synth.default-soundfont if not defined
This commit is contained in:
Tom M 2017-10-27 15:40:55 +02:00 committed by GitHub
commit f17f5333a8

View file

@ -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);