summaryrefslogtreecommitdiff
path: root/libs/midi++2/mtc.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-12-04 20:26:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-12-04 20:26:35 +0000
commit0494a68daaa7cb40acf00b52c2821b14d70fbe48 (patch)
tree063d02388b709938aad85c2e3d7bba8cbce8d7c7 /libs/midi++2/mtc.cc
parentf4e03bd3894078002cb0a96a10887e55dea3c8d8 (diff)
fix up MTC message delivered internally when locate is noticed (removes stupid message when MTC slaving)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4287 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 46f71dc23d..9d62c7354c 100644
--- a/libs/midi++2/mtc.cc
+++ b/libs/midi++2/mtc.cc
@@ -50,7 +50,6 @@ Parser::possible_mtc (byte *sysex_buf, size_t msglen)
fake_mtc_time[3] = (sysex_buf[5] & 0x1f); // hours
_mtc_fps = MTC_FPS ((sysex_buf[5] & 0x60) >> 5); // fps
-
fake_mtc_time[4] = (byte) _mtc_fps;
/* wait for first quarter frame, which could indicate forwards
@@ -292,6 +291,7 @@ Parser::process_mtc_quarter_frame (byte *msg)
if (!_mtc_locked) {
_mtc_locked = true;
}
+
mtc_time (_mtc_time, false);
}
expected_mtc_quarter_frame_code = 0;