projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646d6be
)
probable fix for out-of-sync issue across tracks after locate
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 17 Jul 2017 16:16:00 +0000
(12:16 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 18 Sep 2017 15:40:53 +0000
(11:40 -0400)
libs/ardour/disk_reader.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/disk_reader.cc
b/libs/ardour/disk_reader.cc
index 98bb05f0d6f2af826240ede5e6cb74b300d817c5..918761e5371cb6812a3456d256bca5d838f7fc88 100644
(file)
--- 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 */