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

Rockbox mail archive

Subject: Re: [bug] no repeat all with a few small files

Re: [bug] no repeat all with a few small files

From: Daniel Stenberg <>
Date: Wed, 9 Oct 2002 13:29:48 +0200 (MET DST)

On Wed, 9 Oct 2002, Philipp Pertermann wrote:

> I have made 11 mp3 files with lame -h which are all only 10 sec short and a
> file size of only 78kb. Thus they all fit into the buffer simultaniously.
> They are the only files in a directory. I tried to play them directly from
> the directory without explicitly using a playlist. When I play them with
> repeat all enabled. Each file is played once and then I get the screen
> telling me "<End of song list>". Shuffle doesn't affect the behaviour.

I can confirm that this is indeed a known flaw and unfortunately an expected
behaviour atm. The problem is that the playlist code tries to detect when to
stop playing, when that job is really supposed to be done by the mpeg thread.

The fix will be to let the mpeg thread query for amount of songs in the
playlist and the playlist code shall never return NULL because it thinks
there's an error (like it does now if peek is > playlist_amount).

Daniel "Bagder" Stenberg --
Received on 2002-10-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy