This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12069 - Playback rewrite - first stages
Attached to Project:
Rockbox
Opened by Michael Sevakis (MikeS) - Saturday, 16 April 2011, 10:08 GMT+2
Last edited by Michael Sevakis (MikeS) - Wednesday, 27 April 2011, 22:19 GMT+2
Opened by Michael Sevakis (MikeS) - Saturday, 16 April 2011, 10:08 GMT+2
Last edited by Michael Sevakis (MikeS) - Wednesday, 27 April 2011, 22:19 GMT+2
|
DetailsIt's about time to start testing this since it's been working well enough for me now and better than current SVN. It renovates the codec and playback system, addressing whatever bugs are in scope for it and largely confined to directly-related files. It's not all changes I want to make but I almost made my 512KB .patch goal :p. Redoing PCM and some other stuff would be going too far in one felled swoop).
Codec interface is radically changed. NSF codec needs some updating with the metadata parsing if it's to work correctly because it can't poke values into the WPS any longer; the codec's metadata is private to it and playback. I've considered some sort of proper metadata push interface if we do want to do that sort of thing. Anyone who knows about them, give certain codecs a check; however for the most part, the changes are fairly formulaic. There's a #define in playback.h called 'AUDIO_FAST_SKIP_PREVIEW' which enables fast skip preview to keep the displayed track in time with user actions but does use more RAM, so if it's of little benefit on a target (most likely a flash one), it can be disabled for it. |
This task depends upon
Closed by Michael Sevakis (MikeS)
Wednesday, 27 April 2011, 22:19 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r29785 with a few minor tweaks.
Wednesday, 27 April 2011, 22:19 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r29785 with a few minor tweaks.
FS#12033much worse. Playing the same SPC file twice in a row while the WPS screen is updating will crash my e200v1 every time. I have to let SPC run for a couple seconds before I can safely click the same file from the file browser.ETA: it's not precisely the same patch either
FS#12033, not here.I use .spc a fair amount and am surprised I never noticed such a problem.
Also, adds a left-out line in apps/codecs/atrac3_rm.c that prevented resume from working there.
ETA: last one is all-in-one of the previous files
I'm attempting to test on a simulator, but build fails (H300 sim, under Cygwin, FWIW):
LD vorbis.codec
/home/Steve/rockbox/buildsim/apps/codecs/libcodec.a(codeclib.o): In function `qsort':
/home/Steve/rockbox/apps/codecs/lib/codeclib.c:149: multiple definition of `_codec_main'
/home/Steve/rockbox/buildsim/apps/codecs/vorbis.o:/home/Steve/rockbox/apps/codecs/vorbis.c:108: first defined here
collect2: ld returned 1 exit status
make: *** [/home/Steve/rockbox/buildsim/apps/codecs/vorbis.codec] Error 1
This is with only the last patch (playback-version-ii-5.patch) applied to SVN r29754.
I mean, it's saying codec_main is inside qsort? :p WTF?
ETA: Still I have no idea why you were (or may still be) getting that problem.
warning: weak declaration of 'codec_main' not supported