mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 17:42:21 +00:00
fix build
This commit is contained in:
parent
8630762b9c
commit
f16c068962
1 changed files with 1 additions and 1 deletions
|
@ -1946,7 +1946,7 @@ fluid_synth_program_change(fluid_synth_t* synth, int chan, int prognum)
|
|||
|
||||
channel = synth->channel[chan];
|
||||
if (channel->channel_type == CHANNEL_TYPE_DRUM &&
|
||||
chan->synth->bank_select != FLUID_BANK_STYLE_MMA)
|
||||
synth->bank_select != FLUID_BANK_STYLE_MMA)
|
||||
banknum = DRUM_INST_BANK;
|
||||
else
|
||||
fluid_channel_get_sfont_bank_prog(channel, NULL, &banknum, NULL);
|
||||
|
|
Loading…
Reference in a new issue