mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
add comment in fluid_synth_mixer_reset_mapping()
This commit is contained in:
parent
dd5b2bc414
commit
7728ed6102
1 changed files with 8 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue