From 2ad7b6b71fb5d1f6b6f4c978e6b70ba8723d2f52 Mon Sep 17 00:00:00 2001 From: Martin Scarratt Date: Fri, 1 Sep 2006 09:24:29 +0000 Subject: 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 --- apps/recorder/recording.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'apps/recorder') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 2269c57919..b39a96e60f 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -1722,8 +1722,16 @@ bool recording_screen(bool no_source) #if CONFIG_CODEC == SWCODEC snprintf(buf, 32, "%s", REC_QUALITY_LABEL(global_settings.rec_quality)); - for(i = 0; i < screen_update; i++) - screens[i].puts(0, filename_offset[i] + PM_HEIGHT + 6, buf); + for(i = 0; i < screen_update; i++){ +#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 for(i = 0; i < screen_update; i++) -- cgit v1.2.3