summaryrefslogtreecommitdiff
path: root/libs/plugins/a-fluidsynth.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugins/a-fluidsynth.lv2')
-rw-r--r--libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
index 1af651be3f..4fc53a6d22 100644
--- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
+++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
@@ -138,7 +138,7 @@ load_sf2 (AFluidSynth* self, const char* fn)
int chn;
fluid_preset_t preset;
sfont->iteration_start (sfont);
- for (chn = 0; sfont->iteration_next (sfont, &preset) && chn < 15; ++chn) {
+ for (chn = 0; sfont->iteration_next (sfont, &preset) && chn < 16; ++chn) {
fluid_synth_program_select (self->synth, chn, synth_id,
preset.get_banknum (&preset), preset.get_num (&preset));
}