add comment in fluid_synth_mixer_reset_mapping()

This commit is contained in:
jjceresa 2020-09-13 11:53:56 +02:00
parent dd5b2bc414
commit 7728ed6102

View file

@ -7645,10 +7645,16 @@ fluid_synth_mixer_reset_mapping(fluid_synth_t *synth, int chan)
for(; chan < nbr_chan; chan++)
{
int fxunit_idx = chan % synth->effects_groups;
/* set default mapping between MIDI channel chan and audio dry
output index */
synth->channel[chan]->mapping_to_out = chan % synth->audio_groups;
/* set default mapping between MIDI channel chan and fx unit input index */
synth->channel[chan]->mapping_to_fx = fxunit_idx;
/* default mapping between fxunit_idx (which is mapped to chan)
and audio dry output.
/* set default mapping between fxunit_idx (which is mapped to chan)
and audio dry output index.
*/
fluid_rvoice_mixer_set_fx_out_mapping(synth->eventhandler->mixer,
fxunit_idx,