Update API docs of fluid_settings_getstr_default()

This commit is contained in:
derselbst 2021-01-28 11:15:23 +01:00
parent 70abf1953f
commit c7878dec74
2 changed files with 8 additions and 8 deletions

View file

@ -6,12 +6,12 @@
- #fluid_file_callbacks_t now uses <code>long long</code> 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_file_callbacks_t now uses <code>long long</code> 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 - fluid_event_any_control_change() has been removed
- various fluid_event_*() functions that received a "value" argument of type <code>short</code> now receive an <code>int</code> argument in preparation for MIDI 2.0 support - various fluid_event_*() functions that received a "value" argument of type <code>short</code> now receive an <code>int</code> argument in preparation for MIDI 2.0 support
- The sequencer has received a major revisal. For you that means: - 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. - 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(). - 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. - 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(). - 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 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 - added getter and setter functions for individual effect groups
- support for UTF-8 filenames under Windows, see fluid_synth_sfload() - 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() - MIDI Tempo of the fluid_player can now be overridden, see fluid_player_set_tempo()

View file

@ -1209,9 +1209,9 @@ fluid_settings_str_equal(fluid_settings_t *settings, const char *name, const cha
* @param settings a settings object * @param settings a settings object
* @param name a setting's name * @param name a setting's name
* @param def the default string value of the setting if it exists * @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 int
fluid_settings_getstr_default(fluid_settings_t *settings, const char *name, char **def) fluid_settings_getstr_default(fluid_settings_t *settings, const char *name, char **def)