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
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2002-11-22


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



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa