-
- /** Set the channel filtering mode.
- * @param mask If mode is FilterChannels, each bit represents a midi channel:
- * bit 0 = channel 0, bit 1 = channel 1 etc. the read and write methods will only
- * process events whose channel bit is 1.
- * If mode is ForceChannel, mask is simply a channel number which all events will
- * be forced to while reading.
- */
- void set_channel_mode(ChannelMode mode, uint16_t mask) {
- g_atomic_int_set(&_channel_mask, (uint32_t(mode) << 16) | uint32_t(mask));
- }
+ void flush (framepos_t start, framepos_t end);
+
+ void reset_tracker ();
+ void resolve_tracker (MidiBuffer& dst, framepos_t);
+ void resolve_tracker (Evoral::EventSink<framepos_t>& dst, framepos_t);