mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
when seeking, completely refill buffers rather than just a partial refill
This commit is contained in:
parent
e32bf13016
commit
619a517f2a
1 changed files with 2 additions and 2 deletions
|
|
@ -213,9 +213,9 @@ AudioDiskstream::non_realtime_locate (framepos_t location)
|
||||||
/* now refill channel buffers */
|
/* now refill channel buffers */
|
||||||
|
|
||||||
if (speed() != 1.0f || speed() != -1.0f) {
|
if (speed() != 1.0f || speed() != -1.0f) {
|
||||||
seek ((framepos_t) (location * (double) speed()));
|
seek ((framepos_t) (location * (double) speed()), true);
|
||||||
} else {
|
} else {
|
||||||
seek (location);
|
seek (location, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue