summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 9d618ebcb8..da5a461d7d 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -96,7 +96,7 @@ const char rec_base_directory[] = REC_BASE_DIR;
96#include "eq_menu.h" 96#include "eq_menu.h"
97#endif 97#endif
98 98
99#define CONFIG_BLOCK_VERSION 54 99#define CONFIG_BLOCK_VERSION 55
100#define CONFIG_BLOCK_SIZE 512 100#define CONFIG_BLOCK_SIZE 512
101#define RTC_BLOCK_SIZE 44 101#define RTC_BLOCK_SIZE 44
102 102
@@ -591,6 +591,9 @@ static const struct bit_entry hd_bits[] =
591 {9|SIGNED, S_O(eq_band2_gain), 0, "eq band 2 gain", NULL }, 591 {9|SIGNED, S_O(eq_band2_gain), 0, "eq band 2 gain", NULL },
592 {9|SIGNED, S_O(eq_band3_gain), 0, "eq band 3 gain", NULL }, 592 {9|SIGNED, S_O(eq_band3_gain), 0, "eq band 3 gain", NULL },
593 {9|SIGNED, S_O(eq_band4_gain), 0, "eq band 4 gain", NULL }, 593 {9|SIGNED, S_O(eq_band4_gain), 0, "eq band 4 gain", NULL },
594
595 /* dithering */
596 {1, S_O(dithering_enabled), false, "dithering enabled", off_on },
594#endif 597#endif
595 598
596#ifdef HAVE_DIRCACHE 599#ifdef HAVE_DIRCACHE
@@ -1274,6 +1277,8 @@ void settings_apply(void)
1274 for(i = 0; i < 5; i++) { 1277 for(i = 0; i < 5; i++) {
1275 dsp_set_eq_coefs(i); 1278 dsp_set_eq_coefs(i);
1276 } 1279 }
1280
1281 dsp_dither_enable(global_settings.dithering_enabled);
1277#endif 1282#endif
1278 1283
1279#ifdef HAVE_WM8758 1284#ifdef HAVE_WM8758