dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: RE: Patch: playlist updates
From: Daniel Stenberg (
Date: 2002-08-27

On Tue, 27 Aug 2002, Lee Marlow wrote:

> Here's a little shuffle feature update. It now stores the last song played
> when in shuffle mode. This prevents the playing of previously played songs
> in the event that you switch to shuffle mode while listening to a song that
> was already played in shuffle mode. You basically start shuffling from
> where you left off.

I do like the spirit of this patch.

Why do you introduce the global_settings.last_shuffled_index ? If shuffle
mode is enabled, global_settings.resume_index will be the index in the
shuffled list. What is the gain with this new variable?

Daniel "Bagder" Stenberg --

Page was last modified "Jan 10 2012" The Rockbox Crew