- MidiPort (const std::string& name, Flags, bool external, nframes_t bufsize);
+ MidiPort (const std::string& name, PortFlags);
+
+ private:
+ MidiBuffer* _buffer;
+ bool _has_been_mixed_down;
+ bool _resolve_required;
+ bool _input_active;
+ bool _always_parse;
+
+ /* Naming this is tricky. AsyncMIDIPort inherits (for now, aug 2013) from
+ * both MIDI::Port, which has _parser, and this (ARDOUR::MidiPort). We
+ * need parsing support in this object, independently of what the
+ * MIDI::Port/AsyncMIDIPort stuff does. Rather than risk errors coming
+ * from not explicitly naming which _parser we want, we will call this
+ * _self_parser for now.
+ *
+ * Ultimately, MIDI::Port should probably go away or be fully integrated
+ * into this object, somehow.
+ */
+
+ MIDI::Parser _self_parser;
+
+ void resolve_notes (void* buffer, MidiBuffer::TimeType when);