summaryrefslogtreecommitdiff
path: root/libs/midi++2/mtc.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-08-13 12:53:28 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-08-13 12:53:28 -0400
commita5a75d5e0d4fb9f2c7db7cf3747da2314c2f9586 (patch)
tree7a00e05e90a8ada96eaba94aaa655e7391e90fe9 /libs/midi++2/mtc.cc
parenta5a3f713d596fd3d0157017263d6207b5427d133 (diff)
fixes to get MTC (and probably MIDI clock) slaving working again
incoming MIDI data has to be parsed EVERY process cycle, not just when Slave::speed_and_position() is called. The private MIDI::Parser owned by the MTC and MClck slaves was irrelevant, since the port has its own. See comments in midi_port.h on the strangled inheritance heirarchy.
Diffstat (limited to 'libs/midi++2/mtc.cc')
-rw-r--r--libs/midi++2/mtc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/midi++2/mtc.cc b/libs/midi++2/mtc.cc
index 57c78cbfb0..0c2d8a41b3 100644
--- a/libs/midi++2/mtc.cc
+++ b/libs/midi++2/mtc.cc
@@ -33,7 +33,7 @@ using namespace std;
using namespace sigc;
using namespace MIDI;
-#define DEBUG_MTC
+#undef DEBUG_MTC
bool
Parser::possible_mtc (byte *sysex_buf, size_t msglen)