Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Crash-Safe recording mode? Re: Archos 20 recorder HELP NEEDED

Re: Crash-Safe recording mode? Re: Archos 20 recorder HELP NEEDED

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Fri, 22 Nov 2002 12:59:52 +0100

Martin Borus wrote:
> Is it somehow possible to have temporary files (=file pointers)
> created during a recording where each written block of the recording
> has an incremented filename? If you had these in case of a crash
> you'd never lose the complete recording - you'd just grab those
> files and stick them together. A good place for these would be a ".rockbox/recording"
> directory. After a completed recording the ".rockbox/recording"-directory could be
> deleted.

No, we won't do it like that. However, we will close the file after each
  file access, so the file will be intact in the (unlikely) case Rockbox
crashes.

/Linus
Received on 2002-11-22

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