From c7878dec746c876a7d87b8f807d25a7187bc8225 Mon Sep 17 00:00:00 2001 From: derselbst Date: Thu, 28 Jan 2021 11:15:23 +0100 Subject: [PATCH] Update API docs of fluid_settings_getstr_default() --- doc/recent_changes.txt | 12 ++++++------ src/utils/fluid_settings.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/recent_changes.txt b/doc/recent_changes.txt index e69aba40..cc4d7e5f 100644 --- a/doc/recent_changes.txt +++ b/doc/recent_changes.txt @@ -6,12 +6,12 @@ - #fluid_file_callbacks_t now uses long long as file-offset type (see #fluid_long_long_t). This is a breaking change, which allows to load SoundFonts bigger than 2GiB on Windows. This change required to bump fluidsynth's SOVERSION. - fluid_event_any_control_change() has been removed - various fluid_event_*() functions that received a "value" argument of type short now receive an int argument in preparation for MIDI 2.0 support -- The sequencer has received a major revisal. For you that means: - - The sequencer's queue no longer blocks the synthesizer thread, due to being busy arranging its events internally. - - Events that share the same tick was given a new, documented order, see fluid_sequencer_send_at(). - - The sequencer's scale can now be used for arbitrary tempo changes. Previously, the scale of the sequencer was limited to 1000. The only limitation now is >0. - - There is now a dedicated event type for changing the sequencer's time scale, see fluid_event_scale(). -- The dynamic-sample-loader has learned support to pin samples, see fluid_synth_pin_preset() and fluid_synth_unpin_preset() +- the sequencer has received a major revisal. For you that means: + - the sequencer's queue no longer blocks the synthesizer thread, due to being busy arranging its events internally. + - events that share the same tick was given a new, documented order, see fluid_sequencer_send_at(). + - the sequencer's scale can now be used for arbitrary tempo changes. Previously, the scale of the sequencer was limited to 1000. The only limitation now is >0. + - there is now a dedicated event type for changing the sequencer's time scale, see fluid_event_scale(). +- the dynamic-sample-loader has learned support to pin samples, see fluid_synth_pin_preset() and fluid_synth_unpin_preset() - added getter and setter functions for individual effect groups - support for UTF-8 filenames under Windows, see fluid_synth_sfload() - MIDI Tempo of the fluid_player can now be overridden, see fluid_player_set_tempo() diff --git a/src/utils/fluid_settings.c b/src/utils/fluid_settings.c index 6fe0925f..3ba2c2e4 100644 --- a/src/utils/fluid_settings.c +++ b/src/utils/fluid_settings.c @@ -1209,9 +1209,9 @@ fluid_settings_str_equal(fluid_settings_t *settings, const char *name, const cha * @param settings a settings object * @param name a setting's name * @param def the default string value of the setting if it exists - * @return FLUID_OK on success, FLUID_FAILED otherwise + * @return FLUID_OK if a default vaule exists, FLUID_FAILED otherwise * - * @note The returned string is* not owned by the caller and should not be modified or freed. + * @note The returned string is not owned by the caller and should not be modified or freed. */ int fluid_settings_getstr_default(fluid_settings_t *settings, const char *name, char **def)