summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-11-06 16:40:20 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-11-06 16:40:20 +0000
commite7461b36092611cca29697f7aca59f2247923d90 (patch)
tree7949b01457e3a61d9863e91217f9ef00032f11d6 /apps/settings.h
parentce1312e383e200b2745ffb118bc85f44e37d6a87 (diff)
downloadrockbox-e7461b36092611cca29697f7aca59f2247923d90.tar.gz
rockbox-e7461b36092611cca29697f7aca59f2247923d90.zip
iRiver: New crossfader with more configuration capability. Might still
have small bugs, but those will be fixed as soon as possible. Config block version bumped; please SAVE YOUR SETTINGS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7765 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 99254e377f..63349c646e 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -109,9 +109,8 @@
109#define TRIG_DURATION_COUNT 13 109#define TRIG_DURATION_COUNT 13
110extern const char * const trig_durations[TRIG_DURATION_COUNT]; 110extern const char * const trig_durations[TRIG_DURATION_COUNT];
111 111
112#define CROSSFADE_MODE_OFF 0 112#define CROSSFADE_ENABLE_SHUFFLE 1
113#define CROSSFADE_MODE_CROSSFADE 1 113#define CROSSFADE_ENABLE_ALWAYS 2
114#define CROSSFADE_MODE_MIX 2
115 114
116/* These define "virtual pointers", which could either be a literal string, 115/* These define "virtual pointers", which could either be a literal string,
117 or a mean a string ID if the pointer is in a certain range. 116 or a mean a string ID if the pointer is in a certain range.
@@ -157,8 +156,12 @@ struct user_settings
157 bool superbass; /* true/false */ 156 bool superbass; /* true/false */
158 157
159#if CONFIG_CODEC == SWCODEC 158#if CONFIG_CODEC == SWCODEC
160 int crossfade; 159 int crossfade; /* Enable crossfade (0=off,1=shuffle,2=always) */
161 int crossfade_duration; 160 int crossfade_fade_in_delay; /* Fade in delay (0-15s) */
161 int crossfade_fade_out_delay; /* Fade out delay (0-15s) */
162 int crossfade_fade_in_duration; /* Fade in duration (0-15s) */
163 int crossfade_fade_out_duration; /* Fade out duration (0-15s) */
164 int crossfade_fade_out_mixmode; /* Fade out mode (0=crossfade,1=mix) */
162#endif 165#endif
163 166
164 int rec_quality; /* 0-7 */ 167 int rec_quality; /* 0-7 */