diff options
Diffstat (limited to 'libs/ardour/internal_return.cc')
-rw-r--r-- | libs/ardour/internal_return.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/internal_return.cc b/libs/ardour/internal_return.cc index b56e9e6a2f..0f7eb295d6 100644 --- a/libs/ardour/internal_return.cc +++ b/libs/ardour/internal_return.cc @@ -65,6 +65,17 @@ InternalReturn::remove_send (InternalSend* send) _sends.remove (send); } +void +InternalReturn::set_playback_offset (samplecnt_t cnt) +{ + Processor::set_playback_offset (cnt); + + Glib::Threads::Mutex::Lock lm (_sends_mutex); // TODO reader lock + for (list<InternalSend*>::iterator i = _sends.begin(); i != _sends.end(); ++i) { + (*i)->set_delay_out (cnt); + } +} + XMLNode& InternalReturn::state (bool full) { |