diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2013-02-05 23:20:17 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2013-02-09 13:05:32 +0100 |
commit | 1eb17dc9f4bf280d2e9503f3d0c8b8730146412d (patch) | |
tree | d166a646c42a484edd2ad66e021c4473c4001a91 /apps/plugins | |
parent | cb3e40be0a09de1b927fcaab75118dad54c9e563 (diff) | |
download | rockbox-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/plugins')
-rw-r--r-- | apps/plugins/settings_dumper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/settings_dumper.c b/apps/plugins/settings_dumper.c index 381cdeebaa..66bfa65b0f 100644 --- a/apps/plugins/settings_dumper.c +++ b/apps/plugins/settings_dumper.c | |||
@@ -37,6 +37,8 @@ static void write_setting(const struct settings_list *setting, int fd, unsigned | |||
37 | F_EQSETTING| | 37 | F_EQSETTING| |
38 | F_SOUNDSETTING))) | 38 | F_SOUNDSETTING))) |
39 | return; | 39 | return; |
40 | else if (setting->flags&F_DEPRECATED) | ||
41 | return; | ||
40 | setting_count++; | 42 | setting_count++; |
41 | if (setting_count%10 == 0) | 43 | if (setting_count%10 == 0) |
42 | rb->fdprintf(fd, "\r\n"); | 44 | rb->fdprintf(fd, "\r\n"); |