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, 5 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c
index dd5e7c5ae3..cc5ab12d6f 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -642,6 +642,9 @@ void settings_apply_pm_range(void)
642 642
643void sound_settings_apply(void) 643void sound_settings_apply(void)
644{ 644{
645#ifdef HAVE_SW_TONE_CONTROLS
646 sound_set_dsp_callback(dsp_callback);
647#endif
645 sound_set(SOUND_BASS, global_settings.bass); 648 sound_set(SOUND_BASS, global_settings.bass);
646 sound_set(SOUND_TREBLE, global_settings.treble); 649 sound_set(SOUND_TREBLE, global_settings.treble);
647 sound_set(SOUND_BALANCE, global_settings.balance); 650 sound_set(SOUND_BALANCE, global_settings.balance);
@@ -967,7 +970,7 @@ bool set_sound(const unsigned char * string,
967 talkunit = UNIT_PERCENT; 970 talkunit = UNIT_PERCENT;
968 else if (*unit == 'H') 971 else if (*unit == 'H')
969 talkunit = UNIT_HERTZ; 972 talkunit = UNIT_HERTZ;
970 if(!numdec) 973 if (!numdec)
971#if CONFIG_CODEC == SWCODEC 974#if CONFIG_CODEC == SWCODEC
972 /* We need to hijack this one and send it off to apps/dsp.c instead of 975 /* We need to hijack this one and send it off to apps/dsp.c instead of
973 firmware/sound.c */ 976 firmware/sound.c */
@@ -975,7 +978,7 @@ bool set_sound(const unsigned char * string,
975 return set_int(string, unit, talkunit, variable, &stereo_width_set, 978 return set_int(string, unit, talkunit, variable, &stereo_width_set,
976 steps, min, max, NULL ); 979 steps, min, max, NULL );
977 else 980 else
978#endif 981#endif
979 return set_int(string, unit, talkunit, variable, sound_callback, 982 return set_int(string, unit, talkunit, variable, sound_callback,
980 steps, min, max, NULL ); 983 steps, min, max, NULL );
981 else 984 else