diff options
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 3255f61ff3..6efaacbaf3 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -39,6 +39,7 @@ | |||
39 | #define PLUGIN_DIR ROCKBOX_DIR"/rocks" | 39 | #define PLUGIN_DIR ROCKBOX_DIR"/rocks" |
40 | #define BACKDROP_DIR ROCKBOX_DIR"/backdrops" | 40 | #define BACKDROP_DIR ROCKBOX_DIR"/backdrops" |
41 | #define REC_BASE_DIR "/recordings" | 41 | #define REC_BASE_DIR "/recordings" |
42 | #define EQS_DIR ROCKBOX_DIR "/eqs" | ||
42 | 43 | ||
43 | #define MAX_FILENAME 20 | 44 | #define MAX_FILENAME 20 |
44 | 45 | ||
@@ -408,6 +409,39 @@ struct user_settings | |||
408 | int brightness; /* iriver h300: backlight PWM value: 2..15 | 409 | int brightness; /* iriver h300: backlight PWM value: 2..15 |
409 | (0 and 1 are black) */ | 410 | (0 and 1 are black) */ |
410 | #endif | 411 | #endif |
412 | |||
413 | #if CONFIG_CODEC == SWCODEC | ||
414 | bool eq_enabled; /* Enable equalizer */ | ||
415 | |||
416 | /* Order is important here, must be cutoff, q, then gain for each band. | ||
417 | See dsp_eq_update_data in dsp.c for why. */ | ||
418 | |||
419 | /* Band 0 settings */ | ||
420 | int eq_band0_cutoff; /* Hz */ | ||
421 | int eq_band0_q; | ||
422 | int eq_band0_gain; /* +/- dB */ | ||
423 | |||
424 | /* Band 1 settings */ | ||
425 | int eq_band1_cutoff; /* Hz */ | ||
426 | int eq_band1_q; | ||
427 | int eq_band1_gain; /* +/- dB */ | ||
428 | |||
429 | /* Band 2 settings */ | ||
430 | int eq_band2_cutoff; /* Hz */ | ||
431 | int eq_band2_q; | ||
432 | int eq_band2_gain; /* +/- dB */ | ||
433 | |||
434 | /* Band 3 settings */ | ||
435 | int eq_band3_cutoff; /* Hz */ | ||
436 | int eq_band3_q; | ||
437 | int eq_band3_gain; /* +/- dB */ | ||
438 | |||
439 | /* Band 4 settings */ | ||
440 | int eq_band4_cutoff; /* Hz */ | ||
441 | int eq_band4_q; | ||
442 | int eq_band4_gain; /* +/- dB */ | ||
443 | #endif | ||
444 | |||
411 | #ifdef HAVE_LCD_COLOR | 445 | #ifdef HAVE_LCD_COLOR |
412 | unsigned char backdrop_file[MAX_FILENAME+1]; /* backdrop bitmap file */ | 446 | unsigned char backdrop_file[MAX_FILENAME+1]; /* backdrop bitmap file */ |
413 | #endif | 447 | #endif |