major, substantive reworking of how we store GUI information (visibility, height...
[ardour.git] / libs / ardour / ardour / midi_port.h
index b7c80e0c0154a47f996a3d46429875f34d6d1954..69e17ca08e07c4db81bf913ef28766f0fbf82303 100644 (file)
@@ -43,14 +43,14 @@ class MidiPort : public Port {
 
        void flush_buffers (pframes_t nframes, framepos_t time);
        void transport_stopped ();
+       void realtime_locate ();
+       void reset ();
 
-       size_t raw_buffer_size (pframes_t nframes) const;
-
-       Buffer& get_buffer (framecnt_t nframes) {
+       Buffer& get_buffer (pframes_t nframes) {
                return get_midi_buffer (nframes);
        }
 
-       MidiBuffer& get_midi_buffer (framecnt_t nframes);
+       MidiBuffer& get_midi_buffer (pframes_t nframes);
 
   protected:
        friend class AudioEngine;
@@ -60,9 +60,9 @@ class MidiPort : public Port {
   private:
        MidiBuffer* _buffer;
        bool _has_been_mixed_down;
-       bool _resolve_in_process;
+       bool _resolve_required;
 
-       MidiStateTracker _midi_state_tracker;
+       void resolve_notes (void* jack_buffer, MidiBuffer::TimeType when);
 };
 
 } // namespace ARDOUR