projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340b309
)
maybe fix #1610 - stop transport when MTC stops flowing
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 12 Apr 2007 22:42:41 +0000
(22:42 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 12 Apr 2007 22:42:41 +0000
(22:42 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1708
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/mtc_slave.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/mtc_slave.cc
b/libs/ardour/mtc_slave.cc
index a86a3e9014d2da79aca68ab43c4341f166cdc386..3b4aaae8873efe4c7a5136860f8c4e821b461122 100644
(file)
--- a/
libs/ardour/mtc_slave.cc
+++ b/
libs/ardour/mtc_slave.cc
@@
-137,6
+137,7
@@
MTC_Slave::update_mtc_time (const byte *msg, bool was_full)
current.guard2++;
session.request_locate (mtc_frame, false);
+ session.request_transport_speed (0);
update_mtc_status (MIDI::Parser::MTC_Stopped);
reset ();
@@
-271,6
+272,7
@@
MTC_Slave::speed_and_position (float& speed, nframes_t& pos)
mtc_speed = 0;
pos = last.position;
session.request_locate (pos, false);
+ session.request_transport_speed (0);
update_mtc_status (MIDI::Parser::MTC_Stopped);
reset();
return false;