Skip to main content

midi_in_ring_ptr

Function midi_in_ring_ptr 

Source
pub unsafe fn midi_in_ring_ptr(ptr: *mut u8, port: usize) -> *mut MidiEvent
Expand description

Returns a pointer to the MIDI input port ring buffer slot array.

ยงSafety

ptr must point to a valid allocation and port must be < MAX_MIDI_PORTS.