From 583f186ce488ed52eb0c663a8263f4052e19063d Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sat, 25 Aug 2007 15:53:54 +0000 Subject: Implement FS #2976: Clip Counter for recording screen. If enabled in peak meter settings, it shows the number of times clipping occurred (clip indicator going on). Count is reset on recording start and only counts during actual recording. Stays on screen when stopping or pauzing. Also fix a drawing bug when peakmeters start at a non-zero x offset. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14455 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/radio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/recorder/radio.c') diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 7513a26a1f..b95bffe696 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -582,13 +582,13 @@ int radio_screen(void) #ifndef SIMULATOR if(audio_status() == AUDIO_STATUS_RECORD) { - rec_new_file(); + rec_command(RECORDING_CMD_START_NEWFILE); update_screen = true; } else { have_recorded = true; - rec_record(); + rec_command(RECORDING_CMD_START); update_screen = true; } #endif /* SIMULATOR */ -- cgit v1.2.3