Rockbox mail archive
Subject: Re: [bug] no repeat all with a few small files
From: Daniel Stenberg (daniel_at_haxx.se)
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 -- http://rockbox.haxx.se/
Page was last modified "Jan 10 2012" The Rockbox Crew