diff options
author | Carl Hetherington <carl@carlh.net> | 2010-07-07 00:40:58 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-07-07 00:40:58 +0000 |
commit | ea23298f10e9587eba483cb54a6f7d75ca68126a (patch) | |
tree | bdd396ac05d0be01cbbcc6447844a04814e79cbf /libs/midi++2/midi++/mmc.h | |
parent | 6cccf3ce7dc86998d6797f393bec5b69610fc5f3 (diff) |
Setup fixed ports for MIDI control data; hence remove configuration of those ports. Move MIDI tracer to the Windows menu. Trim some unused code from the midi++ Manager.
git-svn-id: svn://localhost/ardour2/branches/3.0@7384 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/midi++/mmc.h')
-rw-r--r-- | libs/midi++2/midi++/mmc.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/midi++2/midi++/mmc.h b/libs/midi++2/midi++/mmc.h index ec48527789..ec3eb8bbb1 100644 --- a/libs/midi++2/midi++/mmc.h +++ b/libs/midi++2/midi++/mmc.h @@ -20,6 +20,7 @@ #ifndef __midipp_mmc_h_h__ #define __midipp_mmc_h_h__ +#include <jack/types.h> #include "control_protocol/timecode.h" #include "pbd/signals.h" #include "pbd/ringbuffer.h" @@ -87,10 +88,9 @@ class MachineControl cmdResume = 0x7F }; - MachineControl (); - void set_port (Port* p); + MachineControl (jack_client_t *); - Port* port() { return _port; } + Port* output_port() { return _output_port; } void set_receive_device_id (byte id); void set_send_device_id (byte id); @@ -255,7 +255,8 @@ class MachineControl private: byte _receive_device_id; byte _send_device_id; - Port* _port; + Port* _input_port; + Port* _output_port; bool _enable_send; ///< true if MMC sending is enabled void process_mmc_message (Parser &p, byte *, size_t len); |