diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/lang/english.lang | 6 | ||||
| -rw-r--r-- | apps/screens.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang index a11da03..dc1137c 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -3256,3 +3256,9 @@ desc: in browse_id3 eng: "dB" voice "" new: + +id: LANG_ID3_VBR +desc: in browse_id3 +eng: " (VBR)" +voice "" +new: diff --git a/apps/screens.c b/apps/screens.c index 1cbda99..e259c03 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -1308,7 +1308,7 @@ int draw_id3_item(int line, int top, int header, const char* body) bool browse_id3(void) { - char buf[32]; + char buf[64]; const struct mp3entry* id3 = audio_current_track(); #if defined(HAVE_LCD_BITMAP) const int y_margin = lcd_getymargin(); @@ -1387,7 +1387,8 @@ bool browse_id3(void) playlist_amount()); line = draw_id3_item(line, top, LANG_ID3_PLAYLIST, buf); - snprintf(buf, sizeof(buf), "%d kbps", id3->bitrate); + snprintf(buf, sizeof(buf), "%d kbps%s", id3->bitrate, + id3->vbr ? str(LANG_ID3_VBR) : (const unsigned char*) ""); line = draw_id3_item(line, top, LANG_ID3_BITRATE, buf); snprintf(buf, sizeof(buf), "%d Hz", id3->frequency); |