diff --git a/NEWS b/NEWS index a25e79d97..8ad91c3b1 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ ver 0.20.2 (not yet released) * decoder - flac: add options "probesize" and "analyzeduration" +* resampler + - libsamplerate: reset state after seeking * output - alsa: fix the DSD_U32 sample rate diff --git a/src/decoder/Bridge.cxx b/src/decoder/Bridge.cxx index e231390ca..0df3eb39e 100644 --- a/src/decoder/Bridge.cxx +++ b/src/decoder/Bridge.cxx @@ -317,6 +317,9 @@ DecoderBridge::CommandFinished() dc.pipe->Clear(*dc.buffer); + if (convert != nullptr) + convert->Reset(); + timestamp = dc.seek_time.ToDoubleS(); }