forked from len0rd/rockbox
Fix a display issue for targets with AGC where filetype info was overwriting the samplerate. Also filetype always displayed directly below samplerate in all modes for all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10841 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6e4c6ae78a
commit
2ad7b6b71f
1 changed files with 10 additions and 2 deletions
|
|
@ -1722,8 +1722,16 @@ bool recording_screen(bool no_source)
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
snprintf(buf, 32, "%s",
|
snprintf(buf, 32, "%s",
|
||||||
REC_QUALITY_LABEL(global_settings.rec_quality));
|
REC_QUALITY_LABEL(global_settings.rec_quality));
|
||||||
for(i = 0; i < screen_update; i++)
|
for(i = 0; i < screen_update; i++){
|
||||||
screens[i].puts(0, filename_offset[i] + PM_HEIGHT + 6, buf);
|
#ifdef HAVE_AGC
|
||||||
|
if ((global_settings.rec_source == AUDIO_SRC_MIC)
|
||||||
|
|| (global_settings.rec_source == AUDIO_SRC_LINEIN)
|
||||||
|
|| (global_settings.rec_source == AUDIO_SRC_FMRADIO))
|
||||||
|
screens[i].puts(0, filename_offset[i] + PM_HEIGHT + line[i] + 2, buf);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
screens[i].puts(0, filename_offset[i] + PM_HEIGHT + line[i] + 1, buf);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for(i = 0; i < screen_update; i++)
|
for(i = 0; i < screen_update; i++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue