summaryrefslogtreecommitdiff
path: root/apps/settings_list.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2013-02-05 23:20:17 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2013-02-09 13:05:32 +0100
commit1eb17dc9f4bf280d2e9503f3d0c8b8730146412d (patch)
treed166a646c42a484edd2ad66e021c4473c4001a91 /apps/settings_list.h
parentcb3e40be0a09de1b927fcaab75118dad54c9e563 (diff)
downloadrockbox-1eb17dc9f4bf280d2e9503f3d0c8b8730146412d.tar.gz
rockbox-1eb17dc9f4bf280d2e9503f3d0c8b8730146412d.zip
EQ settings: Rework the settings to clean up the config file.
Instead of 3 cfg lines per eq band there is now a single line for each: <config name>: <cutoff/center freq>, <q>, <gain> In addition, the config value names make a bit more sense. The old settings are still readable but config.cfg and any new settings files will be written with the new config values. (The old settings will be removed completly sometime after the next stable release). Also a slight rework of the advanced EQ menu UI Change-Id: I9008658d36ded442a5f2f825916df42a3934cbef Reviewed-on: http://gerrit.rockbox.org/394 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r--apps/settings_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h
index 5cefcf6dc2..66b20ca6ca 100644
--- a/apps/settings_list.h
+++ b/apps/settings_list.h
@@ -152,10 +152,10 @@ struct custom_setting {
152#define F_PADTITLE 0x800 /* pad the title with spaces to force it to scroll */ 152#define F_PADTITLE 0x800 /* pad the title with spaces to force it to scroll */
153#define F_NO_WRAP 0x1000 /* used if the list should not wrap */ 153#define F_NO_WRAP 0x1000 /* used if the list should not wrap */
154 154
155#define F_BANFROMQS 0x80000000 /* ban the setting from the quickscreen items */ 155#define F_BANFROMQS 0x80000000 /* ban the setting from the quickscreen items */
156 156#define F_DEPRECATED 0x40000000 /* DEPRECATED setting, don't write to .cfg */
157struct settings_list { 157struct settings_list {
158 uint32_t flags; /* B___ _SER TFFF NNN_ _ATW PTVC IFRB STTT */ 158 uint32_t flags; /* BD__ _SER TFFF NNN_ _ATW PTVC IFRB STTT */
159 void *setting; 159 void *setting;
160 int lang_id; /* -1 for none */ 160 int lang_id; /* -1 for none */
161 union storage_type default_val; 161 union storage_type default_val;