pub fn midi_open_input(index: u32) -> u32Expand description
Open a MIDI input port by index and start receiving messages.
Returns a handle (> 0) on success, or 0 if the port could not be opened.
Incoming messages are queued internally; drain them with midi_recv.