Function rea_rs::midi::sorted_by_ppq
source · [−]pub fn sorted_by_ppq(
events: impl Iterator<Item = MidiEvent<RawMidiMessage>>
) -> IntoIter<MidiEvent<RawMidiMessage>>
Expand description
Make sure, that events will be iterated back in right order.
This is needed if buffer was split by event types and later consumed back.