Remove a FIXME

I don't see any 'allocation' of preset. And ALL public synth functions have a mutex lock which might potentially block when called from synth context, but only then if the client app pessimizes this situation by extensively calling the synth from outside the synth context.
This commit is contained in:
derselbst 2020-09-11 21:59:52 +02:00 committed by Tom M
parent 0b8fa2e386
commit c94ccdfed1

View file

@ -2775,9 +2775,6 @@ fluid_synth_find_preset(fluid_synth_t *synth, int banknum,
* @param prognum MIDI program number (0-127)
* @return #FLUID_OK on success, #FLUID_FAILED otherwise
*/
/* FIXME - Currently not real-time safe, due to preset allocation and mutex lock,
* and may be called from within synthesis context. */
/* As of 1.1.1 prognum can be set to 128 to unset the preset. Not documented
* since fluid_synth_unset_program() should be used instead. */
int