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

Rockbox mail archive

Subject: RE: VBR Time flicker and scroll stutter

RE: VBR Time flicker and scroll stutter

From: Lee Marlow <>
Date: Tue, 9 Jul 2002 10:18:53 -0600

Actually, the flicker problem was easier than I thought. It only
happened for VBR files. So here is the patch that keeps the WPS from
being redrawn for VBRs for every tick. This also lets the filename
scroll, instead of stuttering for VBRs.

Index: wps.c
RCS file: /cvsroot/rockbox/apps/wps.c,v
retrieving revision 1.25
diff -u -r1.25 wps.c
--- wps.c 5 Jul 2002 07:20:47 -0000 1.25
+++ wps.c 9 Jul 2002 16:07:21 -0000
_at__at_ -141,6 +141,7 _at__at_
             lastlength = id3->length;
             lastsize = id3->filesize;
             lastrate = id3->bitrate;
+ lastvbr = id3->vbr;
             lastartist = id3->artist?id3->artist[0]:0;
             lastalbum = id3->album?id3->album[0]:0;
             lasttitle = id3->title?id3->title[0]:0;

-----Original Message-----
From: [] On
Behalf Of Lee Marlow
Sent: Monday, July 08, 2002 9:45 PM
Subject: VBR bitrate and Time flicker

Here are patches for wps.c and id3.c to calculate and display the
average bitrate of a VBR MP3 instead of just "Variable Bit Rate". It
also gets rid of the line flicker for the line on WPS that displays the
elapsed and total time.

irc: mecraw
Received on 2002-07-09

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