Commit 7a3a793a authored by Max Kellermann's avatar Max Kellermann

decoder/Bridge: call PcmConvert::Reset() after seeking

parent 8088469e
ver 0.20.2 (not yet released) ver 0.20.2 (not yet released)
* decoder * decoder
- flac: add options "probesize" and "analyzeduration" - flac: add options "probesize" and "analyzeduration"
* resampler
- libsamplerate: reset state after seeking
* output * output
- alsa: fix the DSD_U32 sample rate - alsa: fix the DSD_U32 sample rate
......
...@@ -317,6 +317,9 @@ DecoderBridge::CommandFinished() ...@@ -317,6 +317,9 @@ DecoderBridge::CommandFinished()
dc.pipe->Clear(*dc.buffer); dc.pipe->Clear(*dc.buffer);
if (convert != nullptr)
convert->Reset();
timestamp = dc.seek_time.ToDoubleS(); timestamp = dc.seek_time.ToDoubleS();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment