Rockbox

Tasklist

FS#1598 - During record, press ON to close current/open new file

Attached to Project: Rockbox
Opened by Jim Hronchek (jahronch) - Friday, 08 August 2003, 13:48 GMT
Last edited by Linus Nielsen Feltzing (linusnielsen) - Monday, 03 November 2003, 00:15 GMT
Task Type Patches
Category
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Add this case to recorder.c in the recording_screen()
function

There may be a better way to do this. I am new at this.
There may be a significant delay of the hard drive needs
to spin up before the next file is opened, therefore some
audio will be missed.

case BUTTON_ON :
if (mpeg_status() ==
MPEG_STATUS_RECORD )
{

/* we want to stop the current recording,
close the file, start a new recording */
mpeg_stop();
status_set_playmode(STATUS_STOP);

/* */
have_recorded = true;
mpeg_record(create_filename());
status_set_playmode(STATUS_RECORD);
update_countdown = 1; /* Update
immediately */
last_seconds = 0;
}
break;

This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Monday, 03 November 2003, 00:15 GMT
Reason for closing:  Rejected
Additional comments about closing:  Logged In: YES
user_id=259137

Thank you for your patch, but we have solved it along with
the frame-accurate split functionality.
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 03 November 2003, 00:15 GMT

Thank you for your patch, but we have solved it along with
the frame-accurate split functionality.

Loading...