set effects channels to 0, since none were used. this fixes the 'no sound' problem

This commit is contained in:
Alex Birch
2019-06-22 23:24:16 +01:00
parent 06691aa744
commit 9677dbfc56
3 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ void FluidSynthModel::initialise() {
settings = new_fluid_settings();
// https://sourceforge.net/p/fluidsynth/wiki/FluidSettings/
// fluid_settings_setint(settings, "synth.verbose", 1);
fluid_settings_setint(settings, "synth.verbose", 1);
synth = new_fluid_synth(settings);
fluid_synth_set_sample_rate(synth, currentSampleRate);