mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
fix comment in test_modulator_amount.c
This commit is contained in:
parent
c9447e74cd
commit
c44c327044
1 changed files with 2 additions and 2 deletions
|
@ -118,14 +118,14 @@ int main(void)
|
|||
TEST_ASSERT(float_equal(v->gen[GEN_FILTERFC].mod, v->mod[0].link * fluid_mod_get_amount(mod0)));
|
||||
}
|
||||
|
||||
// Same test using simple modulator: CC->m0->GEN_FILTERFC
|
||||
// Same test using simple modulator: CC->mod0->GEN_FILTERFC
|
||||
{
|
||||
v->gen[GEN_FILTERFC].mod = 0; // reset mod input
|
||||
v->mod_count = 0; // clear voice modulator table.
|
||||
|
||||
fluid_mod_set_source1(mod0, CC, FLUID_MOD_CC | FLUID_MOD_LINEAR | FLUID_MOD_UNIPOLAR | FLUID_MOD_POSITIVE);
|
||||
|
||||
// Add one complex modulator using fluid_voice_add_mod().
|
||||
// Add one complex modulator using fluid_voice_add_mod().
|
||||
fluid_voice_add_mod(v, mod0, FLUID_VOICE_DEFAULT);
|
||||
|
||||
fluid_voice_calculate_modulator_contributions(v);
|
||||
|
|
Loading…
Reference in a new issue