13
0

probable fix for out-of-sync issue across tracks after locate

This commit is contained in:
Paul Davis 2017-07-17 12:16:00 -04:00
parent 646d6bec7e
commit e6576e2934

View File

@ -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 */