summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h25
1 files changed, 17 insertions, 8 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 9a9169a74f..320e2b0517 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -90,12 +90,19 @@ struct opt_items {
90#define BOOKMARK_RECENT_ONLY_YES 3 90#define BOOKMARK_RECENT_ONLY_YES 3
91#define BOOKMARK_RECENT_ONLY_ASK 4 91#define BOOKMARK_RECENT_ONLY_ASK 4
92 92
93#define TRIG_MODE_OFF 0 93enum
94#define TRIG_MODE_NOREARM 1 94{
95#define TRIG_MODE_REARM 2 95 TRIG_MODE_OFF = 0,
96 TRIG_MODE_NOREARM,
97 TRIG_MODE_REARM
98};
96 99
97#define TRIG_DURATION_COUNT 13 100enum
98extern const struct opt_items trig_durations[TRIG_DURATION_COUNT]; 101{
102 TRIG_TYPE_STOP = 0,
103 TRIG_TYPE_PAUSE,
104 TRIG_TYPE_NEW_FILE
105};
99 106
100#define CROSSFADE_ENABLE_SHUFFLE 1 107#define CROSSFADE_ENABLE_SHUFFLE 1
101#define CROSSFADE_ENABLE_TRACKSKIP 2 108#define CROSSFADE_ENABLE_TRACKSKIP 2
@@ -354,10 +361,12 @@ struct user_settings
354 2 = main and remote lcd 361 2 = main and remote lcd
355 3 = remote lcd */ 362 3 = remote lcd */
356 363
357 int rec_start_thres; /* negative: db, positive: % range -87 .. 100 */ 364 int rec_start_thres_db;
365 int rec_start_thres_linear;
358 int rec_start_duration; /* index of trig_durations */ 366 int rec_start_duration; /* index of trig_durations */
359 int rec_stop_thres; /* negative: db, positive: % */ 367 int rec_stop_thres_db;
360 int rec_stop_postrec; /* negative: db, positive: % range -87 .. 100 */ 368 int rec_stop_thres_linear;
369 int rec_stop_postrec;
361 int rec_stop_gap; /* index of trig_durations */ 370 int rec_stop_gap; /* index of trig_durations */
362 int rec_trigger_mode; /* see TRIG_MODE_XXX constants */ 371 int rec_trigger_mode; /* see TRIG_MODE_XXX constants */
363 int rec_trigger_type; /* what to do when trigger released */ 372 int rec_trigger_type; /* what to do when trigger released */