From 03d326fc90afa4fded017776996b84d6a4686162 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Thu, 17 Aug 2023 13:40:09 +0200 Subject: Remove obsolete alias for audio_record function Rockbox doesn't support HW codec anymore Change-Id: Ia20d3f02f0d9db88b23cf9074e4d76aa21fd53b0 --- apps/recorder/recording.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'apps/recorder/recording.c') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 6c52adf5d3..dec7b7bd8c 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -643,16 +643,11 @@ void rec_command(enum recording_command cmd) audio_stop_recording(); break; case RECORDING_CMD_START: - /* steal mp3 buffer, create unique filename and start recording */ - pm_reset_clipcount(); - pm_activate_clipcount(true); - audio_record(rec_create_filename(path_buffer)); - break; case RECORDING_CMD_START_NEWFILE: /* create unique filename and start recording*/ pm_reset_clipcount(); - pm_activate_clipcount(true); /* just to be sure */ - audio_new_file(rec_create_filename(path_buffer)); + pm_activate_clipcount(true); + audio_record(rec_create_filename(path_buffer)); break; case RECORDING_CMD_PAUSE: pm_activate_clipcount(false); -- cgit v1.2.3