diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-10 19:48:01 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-10 19:48:47 -0500 |
commit | eddcd7128f955e70e636b857a45da3e6258a0a8d (patch) | |
tree | 87673d12a486621778ecc9d5684998d08fbcc6c7 /libs/ardour/ardour/midi_port.h | |
parent | 266ac609419b7d659ac9ef01ae7f092298e9ab12 (diff) |
infrastructure to allow tracing of all MIDI ports
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r-- | libs/ardour/ardour/midi_port.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h index 0053a4dc72..b410f3d5af 100644 --- a/libs/ardour/ardour/midi_port.h +++ b/libs/ardour/ardour/midi_port.h @@ -56,6 +56,8 @@ class LIBARDOUR_API MidiPort : public Port { MidiBuffer& get_midi_buffer (pframes_t nframes); void set_always_parse (bool yn); + void set_trace_on (bool yn); + MIDI::Parser& self_parser() { return _self_parser; } protected: @@ -69,7 +71,8 @@ class LIBARDOUR_API MidiPort : public Port { bool _resolve_required; bool _input_active; bool _always_parse; - + bool _trace_on; + /* 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 |