Rockbox General > Rockbox General Discussion
"Data error at XXX" when playing ALAC in current
emody:
Hi,
I stumbled upon an error while playing alac files that affects the current builds and is not present in version 3.13.
It's a deterministic error and does not happen in all alac files, just some of them. However, they will crash rockbox every time.
I see there were some commits in the alac part of the code since 3.13 related to playback/resume.
EDIT: I did a simple test. Taking the alac file that causes panics, I converted it to FLAC using ffmpeg. The FLAC plays correctly. I then converted this FLAC to ALAC using ffpmeg again, stripping cover art etc in the process. The resulting alac seems OK. It did crash right after copying but after a reboot of rockbox I'm unable to make it crash again. Will keep trying.
EDIT2: Well, seems it's unstable. At times I get solid lockup. No keys work. No screen updates.
If you need more information, I can help, but I have no knowledge in that part of the code.
emody.
PS: The reason for having a lot of alac files is that I share them with other Ipods :)
saratoga:
The alac code hasn't changed since well before 3.13 so it is surprising that the version makes any difference. Can you post a link to the file and the exact device you're testing on?
emody:
I'm running on Ipod Video (5.5g) with 30GB hd. I was making a flash upgrade and lost a few hours before realising that I had the issue with the HD too.
When was 3.13 released ? Last mods in ALAC are around 2013 and they are post 3.13 but related to saving/restoring playback position. This is patchset 31b71228
Something suspicious could be patchset 3fd25dcb on 2013-05-05, a couple of months after 3.13 was released.
I'll post you a PM with the file as it's (C) music. Not sure I can post it here in the wild.
saratoga:
3.13 was released in 2013. There have been zero changes to the ALAC decoder since then. alac.c has one change that you noted, but it is non-functional (renames a variable without changing its value).
Send me the file, I'll try and look at it in a few days when I am home.
emody:
Agreed, let me double check that I have no issue at my side so I don't waste your time.
Navigation
[0] Message Index
[#] Next page
Go to full version