decoder/Bridge: call PcmConvert::Reset() after seeking
This commit is contained in:
parent
8088469eca
commit
7a3a793a12
2
NEWS
2
NEWS
|
@ -1,6 +1,8 @@
|
||||||
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()
|
||||||
|
|
||||||
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue