mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
fix build
This commit is contained in:
parent
b38d40013a
commit
168274fbbd
1 changed files with 2 additions and 2 deletions
|
@ -1273,7 +1273,7 @@ fluid_handle_tunings(fluid_cmd_handler_t* handler, int ac, char** av, fluid_ostr
|
|||
int
|
||||
fluid_handle_dumptuning(fluid_cmd_handler_t* handler, int ac, char** av, fluid_ostream_t out)
|
||||
{
|
||||
int bank, prog, i;
|
||||
int bank, prog, i, res;
|
||||
double pitch[128];
|
||||
char name[256];
|
||||
|
||||
|
@ -1302,7 +1302,7 @@ fluid_handle_dumptuning(fluid_cmd_handler_t* handler, int ac, char** av, fluid_o
|
|||
return -1;
|
||||
};
|
||||
|
||||
int res = fluid_synth_tuning_dump(handler->synth, bank, prog, name, 256, pitch);
|
||||
res = fluid_synth_tuning_dump(handler->synth, bank, prog, name, 256, pitch);
|
||||
if (FLUID_OK != res) {
|
||||
fluid_ostream_printf(out, "Tuning %03d-%03d does not exist.\n", bank, prog);
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue