From 2811ba6ccda477d34948acde4cc9f43e55cd9e23 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 4 Jul 2002 06:43:25 +0000 Subject: Now prints Variable Bit Rate if VBR git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1326 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/wps.c b/apps/wps.c index 7b0cf5d60f..5228726b0f 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -95,7 +95,11 @@ static void draw_screen(struct mp3entry* id3) lcd_puts(0, l++, id3->album?id3->album:""); lcd_puts(0, l++, id3->artist?id3->artist:""); - snprintf(buffer,sizeof(buffer), "%d kbits", id3->bitrate); + if(id3->bitrate == VARIABLE_BIT_RATE) + snprintf(buffer, sizeof(buffer), "Variable Bit Rate"); + else + snprintf(buffer, sizeof(buffer), "%d kbits", id3->bitrate); + lcd_puts(0, l++, buffer); -- cgit v1.2.3