mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 15:42:54 +00:00
rename fluid_zone_check_remove_mod => fluid_mod_remove_invalid_from_list
This commit is contained in:
parent
bf918fbc5a
commit
8b1efbd1c4
3 changed files with 3 additions and 3 deletions
|
@ -1514,7 +1514,7 @@ fluid_zone_check_mod(char *zone_name, fluid_mod_t **list_mod,
|
|||
|
||||
/* removing all invalid modulators and linked modulators out of list_mod */
|
||||
/* On return, the list contains only valid unlinked modulators */
|
||||
fluid_zone_check_remove_mod(list_mod);
|
||||
fluid_mod_remove_invalid_from_list(list_mod);
|
||||
|
||||
/* limits the size of unlinked modulators list */
|
||||
fluid_limit_mod_list(zone_name, list_mod);
|
||||
|
|
|
@ -1129,7 +1129,7 @@ fluid_zone_is_mod_identic(const fluid_mod_t *mod, char *name)
|
|||
*
|
||||
* @param list_mod, address of pointer on modulator list.
|
||||
*/
|
||||
void fluid_zone_check_remove_mod(fluid_mod_t **list_mod)
|
||||
void fluid_mod_remove_invalid_from_list(fluid_mod_t **list_mod)
|
||||
{
|
||||
fluid_mod_t *prev_mod = NULL; /* previous modulator in list_mod */
|
||||
fluid_mod_t *mod = *list_mod; /* first modulator in list_mod */
|
||||
|
|
|
@ -81,7 +81,7 @@ int fluid_linked_mod_test_identity(fluid_mod_t *cm0, fluid_mod_t *cm1,
|
|||
fluid_real_t fluid_mod_get_value(fluid_mod_t *mod, fluid_voice_t *voice);
|
||||
int fluid_mod_check_sources(const fluid_mod_t *mod, char *name);
|
||||
|
||||
void fluid_zone_check_remove_mod(fluid_mod_t **list_mod);
|
||||
void fluid_mod_remove_invalid_from_list(fluid_mod_t **list_mod);
|
||||
|
||||
int fluid_mod_check_linked_mod(char *list_name,
|
||||
fluid_mod_t *list_mod, int mod_count,
|
||||
|
|
Loading…
Reference in a new issue