diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-05-12 00:17:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-05-12 00:17:51 +0000 |
commit | 561ab24d0a26c1b274be398071500443e14b3e0e (patch) | |
tree | d8762db7ef250c37829553d8931b6ccecc474328 /libs | |
parent | f3857bf68cd239faf8516629a1ee2b9a67edd33d (diff) |
new debug trace in ::start_transport(); add a new emission of TransportStateChange to keep GUI up to date when varispeeding
git-svn-id: svn://localhost/ardour2/branches/3.0@9500 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_transport.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index ac29509f08..a030d3afc2 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -986,6 +986,8 @@ Session::set_transport_speed (double speed, bool abort, bool clear_state) } } else { + + /* not zero, not 1.0 ... varispeed */ if ((synced_to_jack()) && speed != 0.0 && speed != 1.0) { warning << string_compose ( @@ -1035,6 +1037,8 @@ Session::set_transport_speed (double speed, bool abort, bool clear_state) add_post_transport_work (todo); _butler->schedule_transport_work (); } + + TransportStateChange (); /* EMIT SIGNAL */ } } @@ -1101,6 +1105,8 @@ Session::stop_transport (bool abort, bool clear_state) void Session::start_transport () { + DEBUG_TRACE (DEBUG::Transport, "start_transport\n"); + _last_roll_location = _transport_frame; _last_roll_or_reversal_location = _transport_frame; |