From 893b468858a05f7ad9c344786e89d1414677c169 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 10 Apr 2012 16:27:01 +0000 Subject: add "centrally-parsed" property to MIDI::Port so that we can avoid the MidiUI loop from handling input for *all* MIDI ports created git-svn-id: svn://localhost/ardour2/branches/3.0@11871 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/midi++2/port.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libs/midi++2/port.cc') diff --git a/libs/midi++2/port.cc b/libs/midi++2/port.cc index 378548ca03..b5a16eef01 100644 --- a/libs/midi++2/port.cc +++ b/libs/midi++2/port.cc @@ -51,10 +51,11 @@ Port::Port (string const & name, Flags flags, jack_client_t* jack_client) , _jack_client (jack_client) , _jack_port (0) , _last_read_index (0) - , xthread (true) , output_fifo (512) , input_fifo (1024) + , xthread (true) , _flags (flags) + , _centrally_parsed (true) { assert (jack_client); init (name, flags); @@ -66,9 +67,10 @@ Port::Port (const XMLNode& node, jack_client_t* jack_client) , _jack_client (jack_client) , _jack_port (0) , _last_read_index (0) - , xthread (true) , output_fifo (512) , input_fifo (1024) + , xthread (true) + , _centrally_parsed (true) { assert (jack_client); -- cgit v1.2.3