use XML state to store processors in mixer (strips) and fixup crash caused by missing...
[ardour.git] / libs / ardour / ardour / midi_port.h
index 1abfd809321a9423eb6389cbb2cb087e7181ff5a..b7730f0d1672238d679948db70e3714105290c7b 100644 (file)
@@ -27,7 +27,7 @@
 #include <jack/jack.h>
 #include <jack/midiport.h>
 #include <ardour/port.h>
-#include <ardour/buffer.h>
+#include <ardour/midi_buffer.h>
 
 namespace ARDOUR {
 
@@ -47,7 +47,7 @@ class MidiPort : public Port {
                return _buffer;
        }
        
-       void cycle_start(jack_nframes_t nframes);
+       void cycle_start(nframes_t nframes);
        void cycle_end();
 
        size_t capacity() { return _buffer.capacity(); }
@@ -61,7 +61,7 @@ class MidiPort : public Port {
        /* engine isn't supposed to access below here */
 
        MidiBuffer     _buffer;
-       jack_nframes_t _nframes_this_cycle;
+       nframes_t _nframes_this_cycle;
 };
  
 } // namespace ARDOUR