From b1c23fb35d3f7a7ff04f11fbe585227638e44cec Mon Sep 17 00:00:00 2001 From: Tom M Date: Tue, 10 Oct 2017 18:16:58 +0200 Subject: [PATCH] minor doc update for fluid_synth_add_default_mod() --- src/synth/fluid_synth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c index 145cf370..dcc74a50 100644 --- a/src/synth/fluid_synth.c +++ b/src/synth/fluid_synth.c @@ -1074,12 +1074,12 @@ fluid_synth_damp_voices_by_sostenuto_LOCAL(fluid_synth_t* synth, int chan) } /** - * Adds a default modulator to the synth. + * Adds the specified modulator \c mod as default modulator to the synth. If \c mod is new it + * will be used by any subsequently created voice. If an amount of an existing modulator is + * changed by \c mod it will take effect for any subsequently created voice. * @param synth FluidSynth instance * @param mod Modulator info (values copied, passed in object can be freed again immediately) - * @param mode Determines how to handle an existing identical modulator - * #FLUID_SYNTH_ADD to add (offset) the modulator amounts, - * #FLUID_SYNTH_OVERWRITE to replace the modulator, + * @param mode Determines how to handle an existing identical modulator (#fluid_synth_add_mod) * @return FLUID_OK on success, FLUID_FAILED otherwise */ int