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

Rockbox mail archive

Subject: Re: my only problem so far...

Re: my only problem so far...

From: Daniel Stenberg <>
Date: Mon, 3 Feb 2003 23:04:35 +0100 (CET)

On Mon, 3 Feb 2003, Jason Hamilton wrote:

> I do notice that long tracks show up with incorrect play time when they
> reach near the end. Rockbox isn't displaying them as VBR though.

Right, because it'll read the first mp3 frame and treat the whole file as a
CBR using that bitrate.

> The problem doesn't seem to happen at a specific point in a file, it seems
> almost random. Due to that reason alone, my thinking on this is that it's a
> software bug, not a mp3 issue. Feel free to correct me on this though :)

What I *think* might be happening, is that the mpeg thread is tricked into
believing that this is a low-bitrate song and thus it adjusts the watermarks
a bit on the brave side to make the best use of your mmemory before it spins
up the disk, but as the song really is using a lot more bits than the mpeg
thread initially thought, it runs out of buffer before it has spun up the
disk and re-filled the buffer to keep on playing.

To say if this is likely or not, I need Linus to comment.

 Daniel Stenberg -- --
Received on 2003-02-03

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