|
|
|
How Shuffle Works in RockboxGoalsWhen we designed and created the Rockbox shuffle concept, we had a few goals:
General PlayingAll song playing in Rockbox works on a list of songs. When you play a dir, it builds a list of song internally and plays that. If you play a playlist, it loads that list and plays it. (Playlists are stored internally as a long list of indexes into a file on disk where the actual song name is stored.)Playing ShuffledRockbox generates a random seed and re-orders the internal list with the random function (Mersenne Twister). When storing resume info, the random seed is stored and thus later re-used again when the same random order is wanted.r2 - 19 Jun 2008 - 12:59:12 - EddyComan
Copyright © by the contributing authors.
|