summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2009-06-23 09:50:39 +0000
committerHans Baier <hansfbaier@googlemail.com>2009-06-23 09:50:39 +0000
commitdd84d5312e2b09538aa98a1b21e84a458a2c145c (patch)
tree3c4b3226a1b8ceb15b19410dbe0204e2683f50e5 /libs/ardour/session_process.cc
parent47e56905523cb9269a19300d2b468118dda3a161 (diff)
Xinterpolation.*: Add old fixed point and double linear interpolation as alternatives
git-svn-id: svn://localhost/ardour2/branches/3.0@5258 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index e7f2ad416f..8ab43df721 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -327,8 +327,7 @@ Session::process_with_events (nframes_t nframes)
} else {
interpolation.set_target_speed (_target_transport_speed);
interpolation.set_speed (_transport_speed);
- //FIXME frames_moved = (long) interpolation.interpolate (nframes, 0, 0);
- frames_moved = _transport_speed * nframes;
+ frames_moved = (long) interpolation.interpolate (0, nframes, 0, 0);
}
end_frame = _transport_frame + (nframes_t)frames_moved;
@@ -849,8 +848,7 @@ Session::process_without_events (nframes_t nframes)
} else {
interpolation.set_target_speed (_target_transport_speed);
interpolation.set_speed (_transport_speed);
- //FIXME frames_moved = (long) interpolation.interpolate (nframes, 0, 0);
- frames_moved = _transport_speed * nframes;
+ frames_moved = (long) interpolation.interpolate (0, nframes, 0, 0);
}
if (process_routes (nframes)) {