Skip to main content

midi_ring_ptr

Function midi_ring_ptr 

Source
pub unsafe fn midi_ring_ptr(ptr: *mut u8) -> *mut MidiEvent
Expand description

Returns a pointer to the MIDI ring buffer slot array.

ยงSafety

ptr must point to a valid allocation large enough to contain the MIDI ring.