From ef7293f0bc336beb30f3a5f2eafad4a447f60ac5 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 21 Jan 2004 14:58:40 +0000 Subject: New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory. New feature: A "Create directory" menu option (untested in the simulator). Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/radio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/recorder/radio.c') diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 0cc85335b0..65b8beb164 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -117,7 +117,7 @@ static int find_preset(int freq) bool radio_screen(void) { - char buf[128]; + char buf[MAX_PATH]; bool done = false; int button; int val; @@ -248,13 +248,13 @@ bool radio_screen(void) case BUTTON_F3: if(mpeg_status() == MPEG_STATUS_RECORD) { - mpeg_new_file(rec_create_filename()); + mpeg_new_file(rec_create_filename(buf)); update_screen = true; } else { have_recorded = true; - mpeg_record(rec_create_filename()); + mpeg_record(rec_create_filename(buf)); status_set_playmode(STATUS_RECORD); update_screen = true; } -- cgit v1.2.3