mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
rename fluid_print_voice_mod to match naming convention
This commit is contained in:
parent
978e51bafa
commit
399e15e138
4 changed files with 11 additions and 11 deletions
|
@ -725,12 +725,12 @@ fluid_defpreset_next(fluid_defpreset_t *defpreset)
|
|||
- instrument zone 3 of instrument named "Synth Brass 2", filter name must be
|
||||
"iz:Synth Brass 2/3".
|
||||
|
||||
fluid_print_voice_mod(voice, preset_zone->name, "pz:Synth Brass 2/1",
|
||||
fluid_voice_print_mod(voice, preset_zone->name, "pz:Synth Brass 2/1",
|
||||
inst_zone->name, "iz:Synth Brass 2/3");
|
||||
|
||||
2)printing voices modulators for any instrument zones:
|
||||
|
||||
fluid_print_voice_mod(voice, preset_zone->name, NULL, NULL);
|
||||
fluid_voice_print_mod(voice, preset_zone->name, NULL, NULL);
|
||||
*/
|
||||
static void fluid_print_zone_voice_mod(fluid_voice_t *voice,
|
||||
char *preset_zone_name,
|
||||
|
@ -749,7 +749,7 @@ static void fluid_print_zone_voice_mod(fluid_voice_t *voice,
|
|||
return;
|
||||
}
|
||||
FLUID_LOG(FLUID_DBG, "\"%s\" \"%s\" voice modulators ---------------------------------", preset_zone_name,inst_zone_name);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2214,7 +2214,7 @@ void fluid_voice_set_custom_filter(fluid_voice_t *voice, enum fluid_iir_filter_t
|
|||
}
|
||||
|
||||
/* Prints all the voice modulators. */
|
||||
void fluid_print_voice_mod(fluid_voice_t *voice)
|
||||
void fluid_voice_print_mod(fluid_voice_t *voice)
|
||||
{
|
||||
int i, mod_idx;
|
||||
fluid_mod_t *mod;
|
||||
|
|
|
@ -194,7 +194,7 @@ fluid_real_t fluid_voice_gen_value(const fluid_voice_t *voice, int num);
|
|||
void fluid_voice_set_custom_filter(fluid_voice_t *voice, enum fluid_iir_filter_type type, enum fluid_iir_filter_flags flags);
|
||||
|
||||
|
||||
void fluid_print_voice_mod(fluid_voice_t *voice);
|
||||
void fluid_voice_print_mod(fluid_voice_t *voice);
|
||||
int fluid_voice_get_count_modulators(fluid_voice_t *voice);
|
||||
fluid_mod_t *fluid_voice_get_modulator(fluid_voice_t *voice, int mod_idx);
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ int main(void)
|
|||
|
||||
voice = new_fluid_voice(NULL, 22050);
|
||||
TEST_ASSERT(voice != NULL);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
voice_mod_count = fluid_voice_get_count_modulators(voice);
|
||||
TEST_ASSERT(voice_mod_count == 0);
|
||||
|
||||
|
@ -72,7 +72,7 @@ int main(void)
|
|||
|
||||
// add a valid new simple modulator in mode FLUID_VOICE_DEFAULT
|
||||
fluid_voice_add_mod(voice, mod1_simple_in, FLUID_VOICE_DEFAULT);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
|
||||
// Check if the new modulator has been correctly added in mode
|
||||
// FLUID_VOICE_DEFAULT. Voice count of modulators must be voice_mod_count
|
||||
|
@ -96,7 +96,7 @@ int main(void)
|
|||
|
||||
// add a valid identical simple modulator in mode FLUID_VOICE_ADD
|
||||
fluid_voice_add_mod(voice, mod1_simple_in, FLUID_VOICE_ADD);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
|
||||
// Check if the identical modulator has been correctly added in mode
|
||||
// FLUID_VOICE_ADD. Voice count of modulators must be the same as for
|
||||
|
@ -122,7 +122,7 @@ int main(void)
|
|||
|
||||
// add a valid identical simple modulator in mode FLUID_VOICE_OVERWRITE
|
||||
fluid_voice_add_mod(voice, mod1_simple_in, FLUID_VOICE_OVERWRITE);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
|
||||
// Check if the identical modulator has been correctly added in mode
|
||||
// FLUID_VOICE_OVERWRITE. Voice count of modulators must be the same as for
|
||||
|
@ -146,7 +146,7 @@ int main(void)
|
|||
|
||||
// add a valid identical simple modulator in mode FLUID_VOICE_ADD
|
||||
fluid_voice_add_mod(voice, mod2_simple_in, FLUID_VOICE_ADD);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
|
||||
// Check if the identical modulator has been correctly added in mode
|
||||
// FLUID_VOICE_ADD. Voice count of modulators must be the same as for
|
||||
|
@ -169,7 +169,7 @@ int main(void)
|
|||
{
|
||||
// add a valid new simple modulator in mode FLUID_VOICE_DEFAULT
|
||||
fluid_voice_add_mod(voice, mod3_simple_in, FLUID_VOICE_DEFAULT);
|
||||
fluid_print_voice_mod(voice);
|
||||
fluid_voice_print_mod(voice);
|
||||
|
||||
// Check if the new modulator has been correctly added in mode
|
||||
// FLUID_VOICE_DEFAULT. Voice count of modulators must be voice_mod_count
|
||||
|
|
Loading…
Reference in a new issue