class
MidiEventOutputA stream of writable MidiEvent structures.
Public functions
- void append(int16_t frame, const MidiEvent& event)
- Append an MidiEvent with conscutive
frame
time stamp. - auto append_unsorted(int16_t frame, const MidiEvent& event) → bool
- void ensure_order()
- Fix event order after append_
unsorted() returned true
. - auto last_frame() const ASE_PURE -> int64_t
- Fetch the latest event stamp, can be used to enforce order.
Function documentation
bool Ase:: MidiEventOutput:: append_unsorted(int16_t frame,
const MidiEvent& event)
Dangerous! Append a MidiEvent while ignoring sort order, violates constraints. Returns if ensure_