summaryrefslogtreecommitdiff
path: root/libs/midi++2/mtc.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-03 18:44:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-03 18:44:06 +0000
commit03c74e45a871f2e09fb1ee855f830c94d1cdb163 (patch)
treee0bd9da870df25c4127d22a4fb79359bdebea701 /libs/midi++2/mtc.cc
parentc9dda81a693ba9c06b9d62f5df56c04be75adfca (diff)
more tweaks to MTC slave code (still not functional), including removing race conditions when resetting slave state; make Session catch on its own saved preferences, which has not been happening; make switching sync sources avoid race conditions
git-svn-id: svn://localhost/ardour2/branches/3.0@6269 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/mtc.cc')
-rw-r--r--libs/midi++2/mtc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/midi++2/mtc.cc b/libs/midi++2/mtc.cc
index a49f469d2b..37163da4e6 100644
--- a/libs/midi++2/mtc.cc
+++ b/libs/midi++2/mtc.cc
@@ -70,6 +70,8 @@ Parser::possible_mtc (byte *sysex_buf, size_t msglen)
void
Parser::reset_mtc_state ()
{
+ /* MUST REMAIN RT-SAFE */
+
_mtc_forward = false;
_mtc_running = MTC_Stopped;
_mtc_locked = false;