summaryrefslogtreecommitdiff
path: root/apps/menus/sound_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/sound_menu.c')
-rw-r--r--apps/menus/sound_menu.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c
index fb9a7fa26e..f39d980a35 100644
--- a/apps/menus/sound_menu.c
+++ b/apps/menus/sound_menu.c
@@ -38,9 +38,12 @@
38#include "option_select.h" 38#include "option_select.h"
39#include "misc.h" 39#include "misc.h"
40 40
41static int volume_limit_callback(int action,const struct menu_item_ex *this_item) 41static int volume_limit_callback(int action,
42 const struct menu_item_ex *this_item,
43 struct gui_synclist *this_list)
42{ 44{
43 (void)this_item; 45 (void)this_item;
46 (void)this_list;
44 47
45 static struct int_setting volume_limit_int_setting; 48 static struct int_setting volume_limit_int_setting;
46 volume_limit_int_setting.option_callback = NULL; 49 volume_limit_int_setting.option_callback = NULL;
@@ -147,8 +150,11 @@ MENUITEM_SETTING(func_mode, &global_settings.func_mode, NULL);
147 &crossfeed_hf_attenuation, &crossfeed_hf_cutoff); 150 &crossfeed_hf_attenuation, &crossfeed_hf_cutoff);
148 151
149#ifdef HAVE_PITCHCONTROL 152#ifdef HAVE_PITCHCONTROL
150static int timestretch_callback(int action,const struct menu_item_ex *this_item) 153static int timestretch_callback(int action,
154 const struct menu_item_ex *this_item,
155 struct gui_synclist *this_list)
151{ 156{
157 (void)this_list;
152 switch (action) 158 switch (action)
153 { 159 {
154 case ACTION_EXIT_MENUITEM: /* on exit */ 160 case ACTION_EXIT_MENUITEM: /* on exit */
@@ -156,7 +162,7 @@ static int timestretch_callback(int action,const struct menu_item_ex *this_item)
156 splash(HZ*2, ID2P(LANG_PLEASE_REBOOT)); 162 splash(HZ*2, ID2P(LANG_PLEASE_REBOOT));
157 break; 163 break;
158 } 164 }
159 lowlatency_callback(action, this_item); 165 lowlatency_callback(action, this_item, NULL);
160 return action; 166 return action;
161} 167}
162 MENUITEM_SETTING(timestretch_enabled, 168 MENUITEM_SETTING(timestretch_enabled,