diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-04 06:43:25 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-04 06:43:25 +0000 |
commit | 2811ba6ccda477d34948acde4cc9f43e55cd9e23 (patch) | |
tree | 07a703eb5fc6f821298729e93486f93af8a8d399 /apps | |
parent | 434b788a1fe2e874723d17d6872ff0e694892540 (diff) | |
download | rockbox-2811ba6ccda477d34948acde4cc9f43e55cd9e23.tar.gz rockbox-2811ba6ccda477d34948acde4cc9f43e55cd9e23.zip |
Now prints Variable Bit Rate if VBR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1326 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wps.c | 6 |
1 files changed, 5 insertions, 1 deletions
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) | |||
95 | lcd_puts(0, l++, id3->album?id3->album:""); | 95 | lcd_puts(0, l++, id3->album?id3->album:""); |
96 | lcd_puts(0, l++, id3->artist?id3->artist:""); | 96 | lcd_puts(0, l++, id3->artist?id3->artist:""); |
97 | 97 | ||
98 | snprintf(buffer,sizeof(buffer), "%d kbits", id3->bitrate); | 98 | if(id3->bitrate == VARIABLE_BIT_RATE) |
99 | snprintf(buffer, sizeof(buffer), "Variable Bit Rate"); | ||
100 | else | ||
101 | snprintf(buffer, sizeof(buffer), "%d kbits", id3->bitrate); | ||
102 | |||
99 | 103 | ||
100 | lcd_puts(0, l++, buffer); | 104 | lcd_puts(0, l++, buffer); |
101 | 105 | ||