mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
update doc for fluid_synth_set_channel_type()
This commit is contained in:
parent
77f4604498
commit
f63b26748f
2 changed files with 6 additions and 3 deletions
|
@ -103,10 +103,13 @@ FLUIDSYNTH_API int fluid_synth_system_reset(fluid_synth_t* synth);
|
|||
FLUIDSYNTH_API int fluid_synth_all_notes_off(fluid_synth_t* synth, int chan);
|
||||
FLUIDSYNTH_API int fluid_synth_all_sounds_off(fluid_synth_t* synth, int chan);
|
||||
|
||||
/**
|
||||
* The midi channel type used by fluid_synth_set_channel_type()
|
||||
*/
|
||||
enum fluid_midi_channel_type
|
||||
{
|
||||
CHANNEL_TYPE_MELODIC = 0,
|
||||
CHANNEL_TYPE_DRUM = 1
|
||||
CHANNEL_TYPE_MELODIC = 0, /**< Melodic midi channel */
|
||||
CHANNEL_TYPE_DRUM = 1 /**< Drum midi channel */
|
||||
};
|
||||
|
||||
FLUIDSYNTH_API int fluid_synth_set_channel_type(fluid_synth_t* synth, int chan, int type);
|
||||
|
|
|
@ -5255,7 +5255,7 @@ void fluid_synth_api_exit(fluid_synth_t* synth)
|
|||
* Set midi channel type
|
||||
* @param synth FluidSynth instance
|
||||
* @param chan MIDI channel number (0 to MIDI channel count - 1)
|
||||
* @param type CHANNEL_TYPE_MELODIC, or CHANNEL_TYPE_DRUM
|
||||
* @param type MIDI channel type (#fluid_midi_channel_type)
|
||||
* @return FLUID_OK on success, FLUID_FAILED otherwise
|
||||
* @since 1.1.4
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue