diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-24 00:54:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-29 05:03:48 +0200 |
commit | d98f87d542e65f56c55035571bcb7b8802288a24 (patch) | |
tree | c9514b4903fd71de7ba44b56de4a4364dfc0f9f3 /libs/ardour/route.cc | |
parent | bcdb3aec3a3f63d3154e71b631e8fcfd765bf26b (diff) |
No more disk-reader roll-delay
It was not working in sdio/6.0-pre anyway and with upcoming changes to
latency compensation the concept of per disk[stream/reader] will go away.
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index cc2a9e4aec..4eae23bd19 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3360,10 +3360,6 @@ Route::non_realtime_transport_stop (samplepos_t now, bool flush) (*i)->non_realtime_transport_stop (now, flush); } } - - if (_disk_reader) { - _disk_reader->set_roll_delay (_initial_delay); - } } void @@ -3870,7 +3866,7 @@ Route::add_export_point() Glib::Threads::RWLock::WriterLock lw (_processor_lock); // this aligns all tracks; but not tracks + busses - samplecnt_t latency = _session.worst_track_roll_delay (); + samplecnt_t latency = _session.worst_track_out_latency (); // FIXME assert (latency >= _initial_delay); _capturing_processor.reset (new CapturingProcessor (_session, latency - _initial_delay)); _capturing_processor->activate (); @@ -3950,11 +3946,6 @@ Route::set_latency_compensation (samplecnt_t longest_session_latency) initial_delay_changed (); /* EMIT SIGNAL */ } - if (_session.transport_stopped()) { - if (_disk_reader) { - _disk_reader->set_roll_delay (_initial_delay); - } - } } void @@ -4910,10 +4901,6 @@ Route::non_realtime_locate (samplepos_t pos) (*i)->non_realtime_locate (pos); } } - - if (_disk_reader) { - _disk_reader->set_roll_delay (_initial_delay); - } } void |