summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 6fe9665086..5552eaa70c 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -570,6 +570,10 @@ static const struct bit_entry hd_bits[] =
570 {1, S_O(tagcache_ram), 0, "tagcache_ram", off_on }, 570 {1, S_O(tagcache_ram), 0, "tagcache_ram", off_on },
571#endif 571#endif
572 572
573#if (CONFIG_CODEC == SWCODEC)
574 {8, S_O(eq_precut), 0, "eq precut", NULL },
575#endif
576
573 /* If values are just added to the end, no need to bump the version. */ 577 /* If values are just added to the end, no need to bump the version. */
574 /* new stuff to be added at the end */ 578 /* new stuff to be added at the end */
575 579
@@ -1125,10 +1129,11 @@ void settings_apply(void)
1125 audio_set_crossfade(global_settings.crossfade); 1129 audio_set_crossfade(global_settings.crossfade);
1126 dsp_set_replaygain(true); 1130 dsp_set_replaygain(true);
1127 dsp_set_crossfeed(global_settings.crossfeed); 1131 dsp_set_crossfeed(global_settings.crossfeed);
1128 1132
1133 dsp_eq_set(global_settings.eq_enabled, global_settings.eq_precut);
1129 /* Update all EQ bands */ 1134 /* Update all EQ bands */
1130 for(i = 0; i < 5; i++) { 1135 for(i = 0; i < 5; i++) {
1131 dsp_eq_update_data(global_settings.eq_enabled, i); 1136 dsp_eq_update_filter_coefs(i);
1132 } 1137 }
1133#endif 1138#endif
1134 1139