session has no frames_per_cycle() method
git-svn-id: svn://localhost/ardour2/branches/3.0@6218 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1ab5662166
commit
2c4fa9e19b
@ -556,7 +556,7 @@ Session::follow_slave (nframes_t nframes)
|
|||||||
delta *= dir;
|
delta *= dir;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (fabs(delta) > frames_per_cycle()) {
|
if (fabs(delta) > engine().frames_per_cycle()) {
|
||||||
/* too far off, so locate and keep rolling */
|
/* too far off, so locate and keep rolling */
|
||||||
DEBUG_TRACE (DEBUG::Slave, string_compose ("slave delta is too big, locate to %1\n", slave_transport_frame));
|
DEBUG_TRACE (DEBUG::Slave, string_compose ("slave delta is too big, locate to %1\n", slave_transport_frame));
|
||||||
request_locate (slave_transport_frame, true);
|
request_locate (slave_transport_frame, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user