mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
Don't print warning when parsing early
This commit is contained in:
parent
40ed09367a
commit
9bb048f27f
1 changed files with 1 additions and 1 deletions
|
@ -2002,7 +2002,7 @@ fluid_handle_set(void *data, int ac, char **av, fluid_ostream_t out)
|
|||
fluid_ostream_printf(out, "set: Value out of range. Try 'info %s' for valid ranges\n", av[0]);
|
||||
}
|
||||
|
||||
if(!fluid_settings_is_realtime(handler->settings, av[0]))
|
||||
if((handler->synth != NULL || handler->router != NULL) && !fluid_settings_is_realtime(handler->settings, av[0]))
|
||||
{
|
||||
fluid_ostream_printf(out, "Warning: '%s' is not a realtime setting, changes won't take effect.\n", av[0]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue