diff options
-rw-r--r-- | apps/screens.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c index 2d3a521a88..5588f36c2a 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -382,6 +382,7 @@ static const int id3_headers[]= | |||
382 | LANG_ID3_YEAR, | 382 | LANG_ID3_YEAR, |
383 | LANG_ID3_LENGTH, | 383 | LANG_ID3_LENGTH, |
384 | LANG_ID3_PLAYLIST, | 384 | LANG_ID3_PLAYLIST, |
385 | LANG_RECORDING_FORMAT, | ||
385 | LANG_ID3_BITRATE, | 386 | LANG_ID3_BITRATE, |
386 | LANG_ID3_FREQUENCY, | 387 | LANG_ID3_FREQUENCY, |
387 | LANG_ID3_TRACK_GAIN, | 388 | LANG_ID3_TRACK_GAIN, |
@@ -604,6 +605,14 @@ static const char * id3_get_or_speak_info(int selected_item, void* data, | |||
604 | talk_number(info->playlist_amount, true); | 605 | talk_number(info->playlist_amount, true); |
605 | } | 606 | } |
606 | break; | 607 | break; |
608 | case LANG_RECORDING_FORMAT: | ||
609 | if (id3->codectype >= AFMT_NUM_CODECS) | ||
610 | return NULL; | ||
611 | snprintf(buffer, buffer_len, "%s", audio_formats[id3->codectype].label); | ||
612 | val=buffer; | ||
613 | if(say_it) | ||
614 | talk_spell(val, true); | ||
615 | break; | ||
607 | case LANG_ID3_BITRATE: | 616 | case LANG_ID3_BITRATE: |
608 | snprintf(buffer, buffer_len, "%d kbps%s", id3->bitrate, | 617 | snprintf(buffer, buffer_len, "%d kbps%s", id3->bitrate, |
609 | id3->vbr ? str(LANG_ID3_VBR) : (const unsigned char*) ""); | 618 | id3->vbr ? str(LANG_ID3_VBR) : (const unsigned char*) ""); |