diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 86b4a46a52..40c416971a 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -188,8 +188,6 @@ bool recording_screen(void) | |||
188 | 188 | ||
189 | mpeg_sound_set(SOUND_VOLUME, global_settings.volume); | 189 | mpeg_sound_set(SOUND_VOLUME, global_settings.volume); |
190 | 190 | ||
191 | status_set_playmode(STATUS_STOP); | ||
192 | |||
193 | /* Yes, we use the D/A for monitoring */ | 191 | /* Yes, we use the D/A for monitoring */ |
194 | peak_meter_playback(true); | 192 | peak_meter_playback(true); |
195 | 193 | ||
@@ -248,7 +246,6 @@ bool recording_screen(void) | |||
248 | if(mpeg_status() & MPEG_STATUS_RECORD) | 246 | if(mpeg_status() & MPEG_STATUS_RECORD) |
249 | { | 247 | { |
250 | mpeg_stop(); | 248 | mpeg_stop(); |
251 | status_set_playmode(STATUS_STOP); | ||
252 | } | 249 | } |
253 | else | 250 | else |
254 | { | 251 | { |
@@ -266,7 +263,6 @@ bool recording_screen(void) | |||
266 | have_recorded = true; | 263 | have_recorded = true; |
267 | talk_buffer_steal(); /* we use the mp3 buffer */ | 264 | talk_buffer_steal(); /* we use the mp3 buffer */ |
268 | mpeg_record(rec_create_filename(path_buffer)); | 265 | mpeg_record(rec_create_filename(path_buffer)); |
269 | status_set_playmode(STATUS_RECORD); | ||
270 | update_countdown = 1; /* Update immediately */ | 266 | update_countdown = 1; /* Update immediately */ |
271 | last_seconds = 0; | 267 | last_seconds = 0; |
272 | } | 268 | } |
@@ -275,12 +271,10 @@ bool recording_screen(void) | |||
275 | if(mpeg_status() & MPEG_STATUS_PAUSE) | 271 | if(mpeg_status() & MPEG_STATUS_PAUSE) |
276 | { | 272 | { |
277 | mpeg_resume_recording(); | 273 | mpeg_resume_recording(); |
278 | status_set_playmode(STATUS_RECORD); | ||
279 | } | 274 | } |
280 | else | 275 | else |
281 | { | 276 | { |
282 | mpeg_pause_recording(); | 277 | mpeg_pause_recording(); |
283 | status_set_playmode(STATUS_RECORD_PAUSE); | ||
284 | } | 278 | } |
285 | update_countdown = 1; /* Update immediately */ | 279 | update_countdown = 1; /* Update immediately */ |
286 | } | 280 | } |
@@ -595,7 +589,6 @@ bool recording_screen(void) | |||
595 | } | 589 | } |
596 | if(mpeg_status() & MPEG_STATUS_ERROR) | 590 | if(mpeg_status() & MPEG_STATUS_ERROR) |
597 | { | 591 | { |
598 | status_set_playmode(STATUS_STOP); | ||
599 | splash(0, true, str(LANG_DISK_FULL)); | 592 | splash(0, true, str(LANG_DISK_FULL)); |
600 | status_draw(true); | 593 | status_draw(true); |
601 | lcd_update(); | 594 | lcd_update(); |