summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-09 22:51:27 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-09 22:51:27 +0000
commit9f8dc1f145203168290750cfeb89491d9f37c48e (patch)
tree7f84b328c057e4345c6f8506f042c31af2267a50 /libs
parent98b9896fe133c8d267a89fd9c1a4b5e99b47f464 (diff)
Fix non-update of _transport_frame
git-svn-id: svn://localhost/ardour2/branches/3.0@5142 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_process.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index eb986a3d83..5bd1166fc6 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -385,6 +385,7 @@ Session::process_with_events (nframes_t nframes)
while (nframes) {
this_nframes = nframes; /* real (jack) time relative */
+ frames_moved = (long) floor (_transport_speed * nframes); /* transport relative */
/* running an event, position transport precisely to its time */
if (this_event && this_event->action_frame <= end_frame && this_event->action_frame >= _transport_frame) {