toc filename handling patch from andreas r.
[ardour.git] / libs / ardour / ardour / midi_port.h
index 69e17ca08e07c4db81bf913ef28766f0fbf82303..a4d2f538067385ad721b52dd068069ce1f10b906 100644 (file)
@@ -46,6 +46,9 @@ class MidiPort : public Port {
        void realtime_locate ();
        void reset ();
 
+       bool input_active() const { return _input_active; }
+       void set_input_active (bool yn);
+
        Buffer& get_buffer (pframes_t nframes) {
                return get_midi_buffer (nframes);
        }
@@ -59,8 +62,9 @@ class MidiPort : public Port {
 
   private:
        MidiBuffer* _buffer;
-       bool _has_been_mixed_down;
-       bool _resolve_required;
+       bool        _has_been_mixed_down;
+       bool        _resolve_required;
+       bool        _input_active;
 
        void resolve_notes (void* jack_buffer, MidiBuffer::TimeType when);
 };