FLUIDSYNTH: Swapped debug levels for FLUID_WARN and FLUID_INFO

If FLUID_INFO is "verbose informational messages", perhaps they should
be better hidden from the average user than warnings. Particularly since
warnings are the only kind I've actually seen in the wild. (Change
suggested by criezy.)
This commit is contained in:
Torbjörn Andersson 2021-03-08 20:19:22 +01:00 committed by Thierry Crozat
parent 08b54f489b
commit 21d65cedf2

View File

@ -55,10 +55,10 @@ static void logHandler(int level, const char *message, void *data) {
warning("FluidSynth: %s", message);
break;
case FLUID_WARN:
debug(2, "FluidSynth: %s", message);
debug(1, "FluidSynth: %s", message);
break;
case FLUID_INFO:
debug(1, "FluidSynth: %s", message);
debug(2, "FluidSynth: %s", message);
break;
case FLUID_DBG:
debug(3, "FluidSynth: %s", message);