From 736a19266d2e3fb51751b86c9b84d10dc567ecd5 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 27 Jun 2004 01:35:33 +0000 Subject: The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4806 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/radio.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/recorder/radio.c') diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index feea3fa5f2..d6a0b82cc9 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -171,8 +171,6 @@ bool radio_screen(void) mpeg_sound_set(SOUND_SUPERBASS, global_settings.bass_boost); mpeg_sound_set(SOUND_AVC, global_settings.avc); - status_set_playmode(STATUS_STOP); - /* Yes, we use the D/A for monitoring */ peak_meter_playback(true); @@ -241,7 +239,6 @@ bool radio_screen(void) if(mpeg_status() == MPEG_STATUS_RECORD) { mpeg_stop(); - status_set_playmode(STATUS_STOP); } else { @@ -262,7 +259,6 @@ bool radio_screen(void) have_recorded = true; talk_buffer_steal(); /* we use the mp3 buffer */ mpeg_record(rec_create_filename(buf)); - status_set_playmode(STATUS_RECORD); update_screen = true; } last_seconds = 0; @@ -462,7 +458,6 @@ bool radio_screen(void) if(mpeg_status() & MPEG_STATUS_ERROR) { - status_set_playmode(STATUS_STOP); splash(0, true, str(LANG_DISK_FULL)); status_draw(true); lcd_update(); -- cgit v1.2.3