summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-06-20 21:13:24 +0000
committerAlexander Levin <al.le@rockbox.org>2009-06-20 21:13:24 +0000
commit8589fcb3e3e0744b208ce5e8099fdf12e46ba9c2 (patch)
treeaac31dccb328366674c0284cba2d9a86ca3dfe4e /apps/settings.h
parent01bcd2c6121fa0ae1797ef11c02be298574f4fdb (diff)
downloadrockbox-8589fcb3e3e0744b208ce5e8099fdf12e46ba9c2.tar.gz
rockbox-8589fcb3e3e0744b208ce5e8099fdf12e46ba9c2.zip
Merge the "Replaygain Off" option into the replaygain type; eliminate the "On/Off" setting (FS#10356). All WPS tags should work as before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21414 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings.h b/apps/settings.h
index ef5a62013d..e0ee4164bf 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -126,6 +126,7 @@ enum
126 NUM_REPEAT_MODES 126 NUM_REPEAT_MODES
127}; 127};
128 128
129
129/* dir filter options */ 130/* dir filter options */
130/* Note: Any new filter modes need to be added before NUM_FILTER_MODES. 131/* Note: Any new filter modes need to be added before NUM_FILTER_MODES.
131 * Any new rockbox browse filter modes (accessible through the menu) 132 * Any new rockbox browse filter modes (accessible through the menu)
@@ -143,7 +144,7 @@ enum { SORT_INTERPRET_AS_DIGIT, SORT_INTERPRET_AS_NUMBER };
143enum { RECURSE_OFF, RECURSE_ON, RECURSE_ASK }; 144enum { RECURSE_OFF, RECURSE_ON, RECURSE_ASK };
144 145
145/* replaygain types */ 146/* replaygain types */
146enum { REPLAYGAIN_TRACK = 0, REPLAYGAIN_ALBUM, REPLAYGAIN_SHUFFLE }; 147enum { REPLAYGAIN_TRACK = 0, REPLAYGAIN_ALBUM, REPLAYGAIN_SHUFFLE, REPLAYGAIN_OFF };
147 148
148/* show path types */ 149/* show path types */
149enum { SHOW_PATH_OFF = 0, SHOW_PATH_CURRENT, SHOW_PATH_FULL }; 150enum { SHOW_PATH_OFF = 0, SHOW_PATH_CURRENT, SHOW_PATH_FULL };
@@ -324,10 +325,9 @@ struct user_settings
324 int crossfade_fade_out_mixmode; /* Fade out mode (0=crossfade,1=mix) */ 325 int crossfade_fade_out_mixmode; /* Fade out mode (0=crossfade,1=mix) */
325 326
326 /* Replaygain */ 327 /* Replaygain */
327 bool replaygain; /* enable replaygain */
328 bool replaygain_noclip; /* scale to prevent clips */ 328 bool replaygain_noclip; /* scale to prevent clips */
329 int replaygain_type; /* 0=track gain, 1=album gain, 2=track gain if 329 int replaygain_type; /* 0=track gain, 1=album gain, 2=track gain if
330 shuffle is on, album gain otherwise */ 330 shuffle is on, album gain otherwise, 4=off */
331 int replaygain_preamp; /* scale replaygained tracks by this */ 331 int replaygain_preamp; /* scale replaygained tracks by this */
332 332
333 /* Crossfeed */ 333 /* Crossfeed */