fmsynth_set_sustain method
\brief Set sustain state for FM synth.
If sustain is held and notes are released, notes will be put in a sustain state instead. Sustained notes will not be released until sustain is released as well.
@param fm Handle to an FM synth instance. @param enable If true, hold sustain. If false, release sustain, potentially releasing notes as well.
Implementation
void fmsynth_set_sustain(
ffi.Pointer<fmsynth> fm,
bool enable,
) {
return _fmsynth_set_sustain(
fm,
enable ? 1 : 0,
);
}