diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-07-17 12:16:00 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:53 -0400 |
commit | e6576e29349da39c01064318b5672b4583178ba4 (patch) | |
tree | 5c4f027a90886d7a78df255d8084efccafbf12d0 /libs | |
parent | 646d6bec7e3174644184e05a4b9da4501af53dd1 (diff) |
probable fix for out-of-sync issue across tracks after locate
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/disk_reader.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index 98bb05f0d6..918761e537 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -283,8 +283,10 @@ DiskReader::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, /* no need for actual disk data, just advance read pointer and return */ - for (ChannelList::iterator chan = c->begin(); chan != c->end(); ++chan) { - (*chan)->buf->increment_read_ptr (playback_distance); + if (!still_locating) { + for (ChannelList::iterator chan = c->begin(); chan != c->end(); ++chan) { + (*chan)->buf->increment_read_ptr (playback_distance); + } } /* if monitoring disk but locating, put silence in the buffers */ |