FS#8515 - SPC codec failure rusuming playback on boot

Attached to Project: Rockbox
Opened by Alex Vanderpol (karashata) - Friday, 25 January 2008, 22:39 GMT
Last edited by Andree Buschmann (Buschel) - Monday, 02 May 2011, 20:56 GMT
Task Type Bugs
Category Applications
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


As stated in the summary, the recent SPC codec work had caused the SPC codec to fail when resuming playback of SPC files upon booting the player. This occurs consistently and causes the track that should be played to be skipped, after which the next track plays fine and skipping back to the previous track causes no problems.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Monday, 02 May 2011, 20:56 GMT
Reason for closing:  Works For Me
Additional comments about closing:  Works for me with r29814.
Comment by Alex Vanderpol (karashata) - Friday, 25 January 2008, 23:56 GMT
I just found out the codec failure happens when resuming playback after stopping it whether or not playback was stopped by the player being shut off, not just when resuming on boot.
Comment by Michael Sevakis (MikeS) - Monday, 28 January 2008, 03:26 GMT
This isn't a problem with the SPC codec per se but a problem with the audio system either providing too little data at the start or providing a corrupted file signature (those are the only two failure conditions for SPC loading). The switch back to mutexes in the ATA drivers seems to have revealed more playback race conditions.
Comment by Alex Vanderpol (karashata) - Monday, 28 January 2008, 03:35 GMT
Either way whatever it is exactly that's causing it to happen now, it wasn't an issue before the recent work done to the SPC-related stuff. It's not a huge problem but it is a slight inconvenience to listen to a set of SPCs and have to skip back to the track I stopped listening on when I turned off my player.