mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
rename fluid_get_next_mod => fluid_mod_get_next
This commit is contained in:
parent
c79ebf202a
commit
fe98d51ba2
4 changed files with 5 additions and 5 deletions
|
@ -803,7 +803,7 @@ fluid_defpreset_noteon_add_linked_mod_to_voice(fluid_voice_t *voice,
|
|||
to check if mod_list is full.
|
||||
*/
|
||||
mod_list[mod_list_count++] = local_mod;
|
||||
local_mod = fluid_get_next_mod(local_mod); /* next complex modulator */
|
||||
local_mod = fluid_mod_get_next(local_mod); /* next complex modulator */
|
||||
}
|
||||
|
||||
/* global (instrument zone/preset zone), complex modulators.
|
||||
|
@ -843,7 +843,7 @@ fluid_defpreset_noteon_add_linked_mod_to_voice(fluid_voice_t *voice,
|
|||
|
||||
mod_list[mod_list_count++] = global_mod;
|
||||
}
|
||||
global_mod = fluid_get_next_mod(global_mod); /* next complex modulator */
|
||||
global_mod = fluid_mod_get_next(global_mod); /* next complex modulator */
|
||||
}
|
||||
|
||||
/* Step 2: global + local modulators are added to the voice using mode. */
|
||||
|
|
|
@ -199,7 +199,7 @@ int fluid_mod_get_list_count(const fluid_mod_t *mod)
|
|||
* @param mod, pointer on modulator.
|
||||
* @return next modulator or NULL if mod is the last modulator.
|
||||
*/
|
||||
fluid_mod_t *fluid_get_next_mod(fluid_mod_t *mod)
|
||||
fluid_mod_t *fluid_mod_get_next(fluid_mod_t *mod)
|
||||
{
|
||||
do
|
||||
{
|
||||
|
|
|
@ -53,7 +53,7 @@ struct _fluid_mod_t
|
|||
int fluid_mod_get_linked_count(const fluid_mod_t *mod);
|
||||
int fluid_mod_get_list_count(const fluid_mod_t *mod);
|
||||
|
||||
fluid_mod_t *fluid_get_next_mod(fluid_mod_t *mod);
|
||||
fluid_mod_t *fluid_mod_get_next(fluid_mod_t *mod);
|
||||
int fluid_mod_has_linked_src1 (const fluid_mod_t * mod);
|
||||
int fluid_mod_is_linked (const fluid_mod_t * mod);
|
||||
|
||||
|
|
|
@ -1304,7 +1304,7 @@ static void fluid_dump_list_linked_mod(fluid_mod_t *mod)
|
|||
fluid_dump_linked_mod(mod, mod_idx, count);
|
||||
count+=fluid_mod_get_linked_count(mod);
|
||||
mod_idx++;
|
||||
mod = fluid_get_next_mod(mod);
|
||||
mod = fluid_mod_get_next(mod);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue