summaryrefslogtreecommitdiffstats
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/apps/settings.h b/apps/settings.h
index b312c1e784..4d94ca8ba8 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -32,6 +32,7 @@
#include "button.h"
#if CONFIG_CODEC == SWCODEC
#include "audio.h"
+#include "dsp.h"
#endif
#include "rbpaths.h"
@@ -339,13 +340,7 @@ struct user_settings
/* EQ */
bool eq_enabled; /* Enable equalizer */
unsigned int eq_precut; /* dB */
-
- struct eq_band_setting
- {
- int cutoff; /* Hz */
- int q;
- int gain; /* +/- dB */
- } eq_band_settings[5];
+ struct eq_band_setting eq_band_settings[EQ_NUM_BANDS]; /* for each band */
/* Misc. swcodec */
int beep; /* system beep volume when changing tracks etc. */
@@ -772,14 +767,7 @@ struct user_settings
#endif
#if CONFIG_CODEC == SWCODEC
- struct compressor_settings
- {
- int threshold;
- int makeup_gain;
- int ratio;
- int knee;
- int release_time;
- } compressor_settings;
+ struct compressor_settings compressor_settings;
#endif
int sleeptimer_duration; /* In minutes; 0=off */