if a complete refill is called for, DiskReader cannot internal seek
This commit is contained in:
parent
b68a7fdf96
commit
e4caef2c72
@ -607,7 +607,7 @@ DiskReader::seek (samplepos_t sample, bool complete_refill)
|
||||
DEBUG_TRACE (DEBUG::DiskIO, string_compose ("DiskReader::seek %s %ld -> %ld refill=%d\n", owner()->name().c_str(), playback_sample, sample, complete_refill));
|
||||
|
||||
const samplecnt_t distance = sample - playback_sample;
|
||||
if (can_internal_playback_seek (distance)) {
|
||||
if (!complete_refill && can_internal_playback_seek (distance)) {
|
||||
internal_playback_seek (distance);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user