decoder/faad: estimate song duration for remote files
Previously, MPD tried to slurp the whole song file, count the number of frames and calculate the song duration from that. That however is extremely expensive for remote files, and will delay playback for a long time. Workaround: check only the first 128 frames and try to extrapolate from here. Fixes Mantis ticket 0004035.
This commit is contained in:
1
NEWS
1
NEWS
@@ -6,6 +6,7 @@ ver 0.18.12 (not yet released)
|
||||
- audiofile: improve responsiveness
|
||||
- audiofile: fix WAV stream playback
|
||||
- dsdiff, dsf: fix stream playback
|
||||
- faad: estimate song duration for remote files
|
||||
- sndfile: improve responsiveness
|
||||
* randomize next song when enabling "random" mode while not playing
|
||||
* randomize next song when adding to single-song queue
|
||||
|
Reference in New Issue
Block a user