mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 13:21:03 +00:00
fix build
This commit is contained in:
parent
0f6c4c83a1
commit
40ebd7f3b6
1 changed files with 6 additions and 2 deletions
|
@ -584,11 +584,15 @@ fluid_handle_channels(fluid_synth_t* synth, int ac, char** av, fluid_ostream_t o
|
||||||
|
|
||||||
if (!verbose)
|
if (!verbose)
|
||||||
fluid_ostream_printf (out, "chan %d, %s\n", i,
|
fluid_ostream_printf (out, "chan %d, %s\n", i,
|
||||||
info.assigned ? info.name : "no preset");
|
info.preset!=NULL
|
||||||
|
? fluid_preset_get_name(info.preset)
|
||||||
|
: "no preset");
|
||||||
else
|
else
|
||||||
fluid_ostream_printf (out, "chan %d, sfont %d, bank %d, preset %d, %s\n", i,
|
fluid_ostream_printf (out, "chan %d, sfont %d, bank %d, preset %d, %s\n", i,
|
||||||
info.sfont_id, info.bank, info.program,
|
info.sfont_id, info.bank, info.program,
|
||||||
info.assigned ? info.name : "no preset");
|
info.preset!=NULL
|
||||||
|
? fluid_preset_get_name(info.preset)
|
||||||
|
: "no preset");
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue