fmsynth_parse_midi method
\brief Parse single MIDI message.
@param fm Handle to an FM synth instance. @param midi_data Pointer to MIDI data. Message type must always be provided. E.g. Successive "note on" messages cannot drop the first byte.
@returns Status code. Depends on MIDI message type or \ref FMSYNTH_STATUS_MESSAGE_UNKNOWN if unknown MIDI message is provided.
Implementation
int fmsynth_parse_midi(
ffi.Pointer<fmsynth> fm,
ffi.Pointer<ffi.Uint8> midi_data,
) {
return _fmsynth_parse_midi(
fm,
midi_data,
);
}