mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
add test of fluid_zone_check_mod()
This commit is contained in:
parent
a20b0a8674
commit
aefa4feaab
3 changed files with 1016 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 )
|
||||||
|
|
1013
test/test_fluid_zone_check_mod.c
Normal file
1013
test/test_fluid_zone_check_mod.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue