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

Rockbox mail archive

Subject: Re: discussion regarding adding settings (PLEASE add your 2 cents)

Re: discussion regarding adding settings (PLEASE add your 2 cents)

From: alex wallis <>
Date: Mon, 27 Oct 2008 23:12:30 -0000

I'd propose this: battery bench doesn't use the plugin buffer at all, but steals his 512bytes from the main ram. So, stop playback -> start battery bench -> start playback again. There's also other plugins doing this.
I assume those 512 shouldn't have a huge impact on the battery life. But this way, you couldn't only change settings while running a battery test (given that the settings menu is a plugin), but also could messure plugins impact on the battery life.

  The battery_bench callback mechanism works already quite nice and simple, if settings move to a plugin and tries to change a setting while battery_bench is running, the user will get notified. Why alter current behaviour and "steal" from audio buffer when the plugin itself is supposed to keep track of battery runtime without touching anything (most of the times at least)?

  Hi. because, what happens if a user wants to change a setting that impacts on how music is played back they wouldn't be able to do it if settings was turned into a plugin and battery bench was left in its current state.
  They would therefor have to disable battery bench, change the setting, run battery bench again and restart playback, you must admit that would be a very annoying situation.
Received on 2008-10-28

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