add test of fluid_zone_check_mod()

This commit is contained in:
jjceresa 2019-07-28 03:15:21 +02:00
parent a20b0a8674
commit aefa4feaab
3 changed files with 1016 additions and 2 deletions

View file

@ -1333,7 +1333,7 @@ new_fluid_preset_zone(char *name)
/* /*
* delete list of modulators. * delete list of modulators.
*/ */
static void delete_fluid_list_mod(fluid_mod_t *mod) void delete_fluid_list_mod(fluid_mod_t *mod)
{ {
fluid_mod_t *tmp; fluid_mod_t *tmp;
@ -1941,7 +1941,7 @@ static void fluid_limit_mod_list(char *zone_name, fluid_mod_t **list_mod)
* modulators doesn't exist in list_mod. * modulators doesn't exist in list_mod.
* @return FLUID_OK if success, FLUID_FAILED otherwise * @return FLUID_OK if success, FLUID_FAILED otherwise
*/ */
static int int
fluid_zone_check_mod(char *zone_name, fluid_mod_t **list_mod, fluid_zone_check_mod(char *zone_name, fluid_mod_t **list_mod,
fluid_mod_t **linked_mod) fluid_mod_t **linked_mod)
{ {

View file

@ -17,6 +17,7 @@ ADD_FLUID_TEST(test_synth_chorus_reverb)
ADD_FLUID_TEST(test_snprintf) ADD_FLUID_TEST(test_snprintf)
ADD_FLUID_TEST(test_modulator_links) ADD_FLUID_TEST(test_modulator_links)
ADD_FLUID_TEST(test_modulator_amount) ADD_FLUID_TEST(test_modulator_amount)
ADD_FLUID_TEST(test_fluid_zone_check_mod)
ADD_FLUID_TEST(test_synth_process) ADD_FLUID_TEST(test_synth_process)
# if ( LIBSNDFILE_HASVORBIS ) # if ( LIBSNDFILE_HASVORBIS )

File diff suppressed because it is too large Load diff