diff options
author | Robin Gareus <robin@gareus.org> | 2013-08-03 21:35:19 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-08-03 21:35:19 +0200 |
commit | 91e0e0f9f83496fd5ec8f40844ba02df61de37f4 (patch) | |
tree | bee80a49e90f3f94b49c51ec746ad7c7905f8857 /libs/ardour/track.cc | |
parent | 43ae996b3a18ecad15f6fe872c4194d23b2200cf (diff) |
advance track's play-position even if processing is locked
fixes
* http://tracker.ardour.org/view.php?id=5628
* http://tracker.ardour.org/view.php?id=5561
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 7d90709b6f..f02863393e 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -477,6 +477,10 @@ Track::silent_roll (pframes_t nframes, framepos_t /*start_frame*/, framepos_t /* { Glib::Threads::RWLock::ReaderLock lm (_processor_lock, Glib::Threads::TRY_LOCK); if (!lm.locked()) { + framecnt_t playback_distance = _diskstream->calculate_playback_distance(nframes); + if (can_internal_playback_seek(playback_distance)) { + internal_playback_seek(playback_distance); + } return 0; } |