Rockbox mail archiveSubject: Re: Player Flash
From: Björn Stenberg (bjorn_at_haxx.se)
TP Diffenbach wrote:
> What I also discovered is that the settings are copied from the global
No. These values are written to the RTC even if they are not written to disk. It has to be done fairly often to make the resume information correct. The exact frequency depends on the DMA interrupt (which updates mp3info->elapsed, which triggers the write). We could write this less often, resulting in less exact resume, but I don't see that it is a problem today.
We could copy this much less often on players as they don't have the RTC and thus only saves on disk. But we can not defer the copying until the disk spins up, as that is only known by the ata device driver. (See ata_delayed_write() to see how it's done.)
Page was last modified "Jan 10 2012" The Rockbox Crew