pub fn midi_recv(handle: u32) -> Option<Vec<u8>>Expand description
Poll for the next queued MIDI message on an input handle.
Returns Some(bytes) with exactly one MIDI message if one is available,
or None if the queue is empty. Channel-voice messages are 2–3 bytes;
SysEx can be longer. The wrapper first tries a 256-byte stack buffer and
transparently retries with a 64 KB heap buffer for large SysEx dumps.