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

Rockbox mail archive

Subject: Re: few remaining issues for memory playback, plugin API
From: kurzhaarrocker (
Date: 2004-01-12

On Mon, 12 Jan 2004 09:30:09 +0100, Björn Stenberg <>

>I can't think of any bad side effects from allowing plugins access to
>the settings, so I guess I'm in favor of it. :-)

I had examples of it: You can change e.g. peak_meter_dbfs without
calling settings_apply_pm_range or something equivalent. Now we might
have a peak meter that shows linear scale while the rest of rockbox
assumes it uses logarithmic scale. Writing accessor functions would
solve these problems. You may argue that it's the programmers fault if
he writes code that disregards such side effects. But I think that
there are good reasons why K.I.S.S shouldn't be applied to everything
and that encapsulation in wrappers has valueable benefits.


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