when seeking, completely refill buffers rather than just a partial refill

This commit is contained in:
Paul Davis 2015-06-30 10:47:02 -04:00
parent e32bf13016
commit 619a517f2a

View file

@ -213,9 +213,9 @@ AudioDiskstream::non_realtime_locate (framepos_t location)
/* now refill channel buffers */
if (speed() != 1.0f || speed() != -1.0f) {
seek ((framepos_t) (location * (double) speed()));
seek ((framepos_t) (location * (double) speed()), true);
} else {
seek (location);
seek (location, true);
}
}