FS#4799 - Max. Filesize Split Error

Attached to Project: Rockbox
Opened by Jvo Studer (vinylivo) - Wednesday, 08 March 2006, 00:34 GMT
Task Type Bugs
Category Recording
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When prerecording is enabled the automatic filesplitting fails for maximum filesize (2GB-1MB).
This is because the prerecorded bytes are not taken into account.

Buggy function is 'pcmrec_start()' in 'pcm_record.c'.

Line 644 must be
num_rec_bytes = pre_chunks * CHUNK_SIZE;
instead of
num_rec_bytes = 0;

Hope this is gonna be fixed soon because everybody using prerecording without time-filesplitting will have stopped recordings at max. filesize (3 hours 22 minutes 53 secs). And this is REALLY annoying.
This task depends upon

Closed by  Peter D'Hoye (petur)
Thursday, 09 March 2006, 18:40 GMT
Reason for closing:  Accepted
Additional comments about closing:  fixed
Comment by Peter D'Hoye (petur) - Thursday, 09 March 2006, 16:55 GMT
will fix this asap