- MidiBuffer& get_midi_buffer() {
- return _buffer;
- }
-
- size_t capacity() { return _buffer.capacity(); }
- size_t size() { return _buffer.size(); }
+ void cycle_start (pframes_t nframes);
+ void cycle_end (pframes_t nframes);
+ void cycle_split ();
+
+ void flush_buffers (pframes_t nframes);
+ void transport_stopped ();
+ void realtime_locate ();
+ void reset ();
+ void require_resolve ();
+
+ bool input_active() const { return _input_active; }
+ void set_input_active (bool yn);
+
+ Buffer& get_buffer (pframes_t nframes);
+
+ MidiBuffer& get_midi_buffer (pframes_t nframes);
+
+ void set_always_parse (bool yn);
+ void set_trace_on (bool yn);
+
+ typedef boost::function<bool(MidiBuffer&,MidiBuffer&)> MidiFilter;
+ void set_inbound_filter (MidiFilter);
+ int add_shadow_port (std::string const &, MidiFilter);
+ boost::shared_ptr<MidiPort> shadow_port() const { return _shadow_port; }
+
+ MIDI::Parser& self_parser() { return _self_parser; }