dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Start recording (A cassette?) and leave mode

Start recording (A cassette?) and leave mode

From: David H. Straayer <>
Date: Sun, 2 May 2004 15:03:33 -0700

One thing I've missed on my Jukebox Recorder is an ability to
start a recording, and leave without worrying about filling my
disk. I want to use this, for example, to be able to dub
cassettes. I want to tell my recorder to record the cassette
then stop recording.

I know that Linus intends to put this into a full "timed
recording" system, but I've been impatient and he's been working
on other things. So I downloaded the development tool set and
looked at the problem.

The recording setting "Split" is actually quite close to what I
want. All we need is for the split timer to not bother starting
another recording. I call this "Split_And_Quit". If I
implement it, for example, as a boolean
"global_settings.rec_split_and_quit", then I just add this code:

                if (mpeg_status() && (seconds >= dseconds))
                    if (global_settings.rec_split_and_quit)

                        update_countdown = 1;
                        last_seconds = 0;
And that simulate a "stop" button when the split timer goes off.
Of course, it would be nice to have a little more precision
setting ability in the split timer, and I'll need to add a user
interface to set the boolean, but I think that should about do
it, no?

David H. Straayer

Received on 2004-05-03

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy