Support and General Use > Audio Playback, Database and Playlists
flac playback issue - horrible skipping noise and track skipping to next
svyr:
ok thanks I'll update my clip+/zips and ask XVertex to merge these into his Xduoo X3 builds
Mihail Zenkov:
My changes related only to AMSv2 (clip+, zip, fuze v2, clip v2).
svyr:
--- Quote from: Mihail Zenkov on March 20, 2016, 04:02:24 AM ---My changes related only to AMSv2 (clip+, zip, fuze v2, clip v2).
--- End quote ---
given it'd drop out intermittently I do have high hopes for the SD card patch.
could this be a flac decoder issue (probs not?) can we try a newer libflacdecoderOrWhateverItsCalled if available and comes from upstream?
Mihail Zenkov:
--- Quote from: svyr on March 20, 2016, 05:21:34 AM ---could this be a flac decoder issue (probs not?)
--- End quote ---
Possible. Also possible we have few different problems but with same symptoms.
--- Quote from: svyr on March 20, 2016, 05:21:34 AM ---can we try a newer libflacdecoderOrWhateverItsCalled if available and comes from upstream?
--- End quote ---
Yes, but AFAIK we have many custom pathes and for update we should backport each changes from ffmpeg. So it not so easy.
saratoga:
--- Quote from: svyr on March 20, 2016, 05:21:34 AM ---
--- Quote from: Mihail Zenkov on March 20, 2016, 04:02:24 AM ---My changes related only to AMSv2 (clip+, zip, fuze v2, clip v2).
--- End quote ---
given it'd drop out intermittently I do have high hopes for the SD card patch.
could this be a flac decoder issue (probs not?) can we try a newer libflacdecoderOrWhateverItsCalled if available and comes from upstream?
--- End quote ---
You could try and make the FLAC decoder more robust against corrupt data, but there is no upstream to get code from. The parser is written for rockbox, so you'd have to improve it directly.
Edit: Looking at that file, you get about 1000 samples of garbage when the data becomes corrupted. Probably what happens is that the corrupted data begins mid frame, so the end of the current frame is corrupted, and then when the next frame is loaded the CRC fails and the decoder aborts. FLAC includes a footer CRC that can be used to detect and mute corrupted frames like this, but we don't use it, probably to save battery life. You could experiment with turning it on and muting output if the data is corrupt. But I'm not sure how much sense that really makes verses just not feeding the decoder corrupted data.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version