This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5344 - Separate "Shuffle" and "Track Skip" settings for Crossfade
Attached to Project:
Rockbox
Opened by Mike Schmitt (Falco98) - Thursday, 11 May 2006, 23:43 GMT+2
Last edited by Zakk Roberts (midkay) - Thursday, 18 May 2006, 07:55 GMT+2
Opened by Mike Schmitt (Falco98) - Thursday, 11 May 2006, 23:43 GMT+2
Last edited by Zakk Roberts (midkay) - Thursday, 18 May 2006, 07:55 GMT+2
|
DetailsProposal: Separate the options in "Crossfade Settings" for "track skip" and "shuffle".
Currently you can select "shuffle", "track skip only", "always", and "never". What if i want "shuffle" AND "track skip"? when i have Shuffle on, i want to have every song change crossfaded, but when i have regular or album play on, i don't (necessarily) want crossfade unless i skip a track. Currently, switching back and forth between "shuffle" and listening to an album (or intentional playlist which i don't want crossfaded) requires that i change the CF settings too. if there were a "shuffle and track skip" option, or both options were selectable separately, it would take some hassle out of it. Plus, the code is already there, so it should be easy to implement. After this is implemented, a few easy modifications could be made to allow for separate crossfade settings for "track skip" versus regular crossfading (see http://www.rockbox.org/tracker/task/4953 ). |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 19 December 2006, 02:26 GMT+2
Reason for closing: Accepted
Tuesday, 19 December 2006, 02:26 GMT+2
Reason for closing: Accepted
everyone test, let me know what you think :)
Didn't you change anything in lang/english.lang as well?
(where is LANG_SHUFFLE_TRACKSKIP #defined?)
Here's an updated one with the change to english.lang included.
New version: should completely solve that; it now track-changes exactly how it does when crossfade is set to "shuffle" but "shuffle" is set to OFF. (except, of course, it will also crossfade when you manually track-skip no matter what the mode.)
Any ideas?
The only time you can change the settings struct and not increment the CONFIG_BLOCK_VERSION is if you add a new item at the end. In that case, all the existing settings stay in the same place, so there is no problem.
thanks!
One thing tho, is there a better way to set out the options?
<quote linuxstb on irc>Just seems to me that there are three logical on/off settings - crossfade during normal playback, crossfade during shuffled playback, and crossfade during manual skips.</quote>
which does sound reasonable to me, but neither of us use crossfade... so we could be wrong.
the other thing I wanted to check is if pcmbuf_is_crossfade_enabled() in pcmbuf.c needs changing also?
you guys are right about there being 3 logical on/off settings; however, as it's been written, it only allows them to be used mutually-exclusively. separating out the options (as this original feature request asked for) would be a better implementation, but it's more code changed than I know how to do.
also: pcmbuf_is_crossfade_enabled() may have to be changed or maybe not; i'll simply say that i've been running with this patch for 6 months now and it seems to work fine. what does that variable do, exactly? you might be right that it should be changed, i wouldn't be sure one way or the other.