mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
maybe fix #1610 - stop transport when MTC stops flowing
git-svn-id: svn://localhost/ardour2/trunk@1708 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
340b3091b4
commit
01ee3a90c7
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue