mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-21 08:51:39 +00:00
update API doc of fluid_synth_[bank|sfont]_select()
This commit is contained in:
parent
272b807383
commit
9e39479f55
1 changed files with 9 additions and 0 deletions
|
@ -2185,6 +2185,11 @@ fluid_synth_program_change(fluid_synth_t* synth, int chan, int prognum)
|
|||
* @param chan MIDI channel number (0 to MIDI channel count - 1)
|
||||
* @param bank MIDI bank number
|
||||
* @return FLUID_OK on success, FLUID_FAILED otherwise
|
||||
* @note This function does not change the instrument currently assigned to \c chan,
|
||||
* as it is usually called prior to fluid_synth_program_change(). If you still want
|
||||
* instrument changes to take effect immediately, call fluid_synth_program_reset()
|
||||
* after having set up the bank configuration.
|
||||
*
|
||||
*/
|
||||
int
|
||||
fluid_synth_bank_select(fluid_synth_t* synth, int chan, unsigned int bank)
|
||||
|
@ -2202,6 +2207,10 @@ fluid_synth_bank_select(fluid_synth_t* synth, int chan, unsigned int bank)
|
|||
* @param chan MIDI channel number (0 to MIDI channel count - 1)
|
||||
* @param sfont_id ID of a loaded SoundFont
|
||||
* @return FLUID_OK on success, FLUID_FAILED otherwise
|
||||
* @note This function does not change the instrument currently assigned to \c chan,
|
||||
* as it is usually called prior to fluid_synth_bank_select() or fluid_synth_program_change().
|
||||
* If you still want instrument changes to take effect immediately, call fluid_synth_program_reset()
|
||||
* after having selected the soundfont.
|
||||
*/
|
||||
int
|
||||
fluid_synth_sfont_select(fluid_synth_t* synth, int chan, unsigned int sfont_id)
|
||||
|
|
Loading…
Reference in a new issue