From 53bed2d50602457b9e8bb5ef1a495c753e660058 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Fri, 11 Jan 2019 15:21:37 +0100 Subject: [PATCH] Fix example code to deactivate reverb and chorus via fluid_settings_setint --- doc/fluidsynth-v20-devdoc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/fluidsynth-v20-devdoc.txt b/doc/fluidsynth-v20-devdoc.txt index 6afee890..5280f252 100644 --- a/doc/fluidsynth-v20-devdoc.txt +++ b/doc/fluidsynth-v20-devdoc.txt @@ -595,8 +595,8 @@ void createsynth() { fluid_settings_t* settings; settings = new_fluid_settings(); - fluid_settings_setstr(settings, "synth.reverb.active", "yes"); - fluid_settings_setstr(settings, "synth.chorus.active", "no"); + fluid_settings_setint(settings, "synth.reverb.active", 0); + fluid_settings_setint(settings, "synth.chorus.active", 0); synth = new_fluid_synth(settings); adriver = new_fluid_audio_driver(settings, synth); sequencer = new_fluid_sequencer2(0);