diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-12-24 22:35:31 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-12-24 22:35:31 +0000 |
commit | b8bc45ded0d5c5765ea4686f373c49c91010aad8 (patch) | |
tree | 85f0107e52e872517aaa6c9e9004bdae774222c3 /apps/settings_list.h | |
parent | 557ae970de0cd5d4f172322a3cadb839d48bd1a5 (diff) | |
download | rockbox-b8bc45ded0d5c5765ea4686f373c49c91010aad8.tar.gz rockbox-b8bc45ded0d5c5765ea4686f373c49c91010aad8.zip |
FS#8353 - add a quick way to make a .cfg from the sound settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15971 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r-- | apps/settings_list.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h index b959789dfe..62631fd066 100644 --- a/apps/settings_list.h +++ b/apps/settings_list.h | |||
@@ -105,6 +105,7 @@ struct table_setting { | |||
105 | #define F_THEMESETTING 0x0800000 | 105 | #define F_THEMESETTING 0x0800000 |
106 | #define F_RECSETTING 0x1000000 | 106 | #define F_RECSETTING 0x1000000 |
107 | #define F_EQSETTING 0x2000000 | 107 | #define F_EQSETTING 0x2000000 |
108 | #define F_SOUNDSETTING 0x4000000 | ||
108 | 109 | ||
109 | #define F_NVRAM_BYTES_MASK 0xE0000 /*0-4 bytes can be stored */ | 110 | #define F_NVRAM_BYTES_MASK 0xE0000 /*0-4 bytes can be stored */ |
110 | #define F_NVRAM_MASK_SHIFT 17 | 111 | #define F_NVRAM_MASK_SHIFT 17 |
@@ -119,7 +120,7 @@ struct table_setting { | |||
119 | #define F_NO_WRAP 0x1000 /* used if the list should not wrap */ | 120 | #define F_NO_WRAP 0x1000 /* used if the list should not wrap */ |
120 | 121 | ||
121 | struct settings_list { | 122 | struct settings_list { |
122 | uint32_t flags; /* ____ ___R TFFF NNN_ _ATW PTVC IFRB STTT */ | 123 | uint32_t flags; /* ____ _SER TFFF NNN_ _ATW PTVC IFRB STTT */ |
123 | void *setting; | 124 | void *setting; |
124 | int lang_id; /* -1 for none */ | 125 | int lang_id; /* -1 for none */ |
125 | union storage_type default_val; | 126 | union storage_type default_val; |