arrange commands strings

This commit is contained in:
jjceresa 2020-09-08 16:48:47 +02:00
parent 7ef467e970
commit 309b0385ae
1 changed files with 6 additions and 6 deletions

View File

@ -192,23 +192,23 @@ static const fluid_cmd_t fluid_commands[] =
/* mixer MIDI channel mapping commands */ /* mixer MIDI channel mapping commands */
{ {
"chanmap", "mixer", fluid_handle_chanmap, "chanmap", "mixer", fluid_handle_chanmap,
"chanmap [chan1 chan2..] Print mapping of all or some MIDI channels" "chanmap [chan1 chan2..] Print all or some MIDI channels mapping"
}, },
{ {
"resetchanmap", "mixer", fluid_handle_resetchanmap, "resetchanmap", "mixer", fluid_handle_resetchanmap,
"resetchanmap [chan1 chan2..] Set default mapping of MIDI channels" "resetchanmap [chan1 chan2..] Set MIDI channels default mapping "
}, },
{ {
"setchanmapout", "mixer", fluid_handle_setchanmapout, "setchanmapout", "mixer", fluid_handle_setchanmapout,
"setchanmapout chan0 out0 [chan1 out1..] Set mapping MIDI channel to dry output" "setchanmapout chan0 out0 [chan1 out1..] Set MIDI channels mapping to dry output"
}, },
{ {
"setchanmapfx", "mixer", fluid_handle_setchanmapfx, "setchanmapfx", "mixer", fluid_handle_setchanmapfx,
"setchanmapfx chan0 out0 [chan1 out1..] Set mapping MIDI channel to fx unit" "setchanmapfx chan0 out0 [chan1 out1..] Set MIDI channels mapping to fx unit"
}, },
{ {
"setchanfxmapout", "mixer", fluid_handle_setchanfxmapout, "setchanfxmapout", "mixer", fluid_handle_setchanfxmapout,
"setchanfxmapout chan0 out0 [chan1 out1..] Set mapping fx unit to dry output" "setchanfxmapout chan0 out0 [chan1 out1..] Set fx unit mapping to dry output"
}, },
/* reverb commands */ /* reverb commands */
{ {
@ -3378,7 +3378,7 @@ int fluid_handle_chanmap(void *data, int ac, char **av,
FLUID_ENTRY_COMMAND(data); FLUID_ENTRY_COMMAND(data);
fluid_synth_t *synth = handler->synth; fluid_synth_t *synth = handler->synth;
int i, n, n_chan = synth->midi_channels; int i, n, n_chan = fluid_synth_count_midi_channels(synth);
/* checks parameters: chan1 chan2 .... */ /* checks parameters: chan1 chan2 .... */
if(check_channels_arguments(ac, av, out, name_cde) < 0) if(check_channels_arguments(ac, av, out, name_cde) < 0)