mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
if a complete refill is called for, DiskReader cannot internal seek
This commit is contained in:
parent
b68a7fdf96
commit
e4caef2c72
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue