diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/eq_menu.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index a1e00a85c4..7cb88065f5 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c | |||
@@ -145,21 +145,21 @@ MENUITEM_SETTING(gain_2, &global_settings.eq_band2_gain, dsp_set_coefs_callback) | |||
145 | MENUITEM_SETTING(gain_3, &global_settings.eq_band3_gain, dsp_set_coefs_callback); | 145 | MENUITEM_SETTING(gain_3, &global_settings.eq_band3_gain, dsp_set_coefs_callback); |
146 | MENUITEM_SETTING(gain_4, &global_settings.eq_band4_gain, dsp_set_coefs_callback); | 146 | MENUITEM_SETTING(gain_4, &global_settings.eq_band4_gain, dsp_set_coefs_callback); |
147 | 147 | ||
148 | MENUITEM_FUNCTION_DYNTEXT(gain_item_0, MENU_FUNC_USEPARAM, do_option, (void*)&gain_0, | 148 | MENUITEM_FUNCTION_DYNTEXT(gain_item_0, MENU_FUNC_USEPARAM, do_option, |
149 | gainitem_get_name, &global_settings.eq_band0_cutoff, | 149 | (void*)&gain_0, gainitem_get_name, NULL, &global_settings.eq_band0_cutoff, |
150 | NULL, Icon_NOICON); | 150 | NULL, Icon_NOICON); |
151 | MENUITEM_FUNCTION_DYNTEXT(gain_item_1, MENU_FUNC_USEPARAM, do_option, (void*)&gain_1, | 151 | MENUITEM_FUNCTION_DYNTEXT(gain_item_1, MENU_FUNC_USEPARAM, do_option, |
152 | gainitem_get_name, &global_settings.eq_band1_cutoff, | 152 | (void*)&gain_1, gainitem_get_name, NULL, &global_settings.eq_band1_cutoff, |
153 | NULL, Icon_NOICON); | 153 | NULL, Icon_NOICON); |
154 | MENUITEM_FUNCTION_DYNTEXT(gain_item_2, MENU_FUNC_USEPARAM, do_option, (void*)&gain_2, | 154 | MENUITEM_FUNCTION_DYNTEXT(gain_item_2, MENU_FUNC_USEPARAM, do_option, |
155 | gainitem_get_name, &global_settings.eq_band2_cutoff, | 155 | (void*)&gain_2, gainitem_get_name, NULL, &global_settings.eq_band2_cutoff, |
156 | NULL, Icon_NOICON); | 156 | NULL, Icon_NOICON); |
157 | MENUITEM_FUNCTION_DYNTEXT(gain_item_3, MENU_FUNC_USEPARAM, do_option, (void*)&gain_3, | 157 | MENUITEM_FUNCTION_DYNTEXT(gain_item_3, MENU_FUNC_USEPARAM, do_option, |
158 | gainitem_get_name, &global_settings.eq_band3_cutoff, | 158 | (void*)&gain_3, gainitem_get_name, NULL, &global_settings.eq_band3_cutoff, |
159 | NULL, Icon_NOICON); | 159 | NULL, Icon_NOICON); |
160 | MENUITEM_FUNCTION_DYNTEXT(gain_item_4, MENU_FUNC_USEPARAM, do_option, (void*)&gain_4, | 160 | MENUITEM_FUNCTION_DYNTEXT(gain_item_4, MENU_FUNC_USEPARAM, do_option, |
161 | gainitem_get_name, &global_settings.eq_band4_cutoff, | 161 | (void*)&gain_4, gainitem_get_name, NULL, &global_settings.eq_band4_cutoff, |
162 | NULL, Icon_NOICON); | 162 | NULL, Icon_NOICON); |
163 | 163 | ||
164 | MAKE_MENU(gain_menu, ID2P(LANG_EQUALIZER_GAIN), NULL, Icon_NOICON, &gain_item_0, | 164 | MAKE_MENU(gain_menu, ID2P(LANG_EQUALIZER_GAIN), NULL, Icon_NOICON, &gain_item_0, |
165 | &gain_item_1, &gain_item_2, &gain_item_3, &gain_item_4); | 165 | &gain_item_1, &gain_item_2, &gain_item_3, &gain_item_4); |
@@ -195,15 +195,15 @@ int do_center_band_menu(void* param) | |||
195 | } | 195 | } |
196 | MAKE_MENU(band_0_menu, ID2P(LANG_EQUALIZER_BAND_LOW_SHELF), NULL, | 196 | MAKE_MENU(band_0_menu, ID2P(LANG_EQUALIZER_BAND_LOW_SHELF), NULL, |
197 | Icon_EQ, &cutoff_0, &q_0, &gain_0); | 197 | Icon_EQ, &cutoff_0, &q_0, &gain_0); |
198 | MENUITEM_FUNCTION_DYNTEXT(band_1_menu, MENU_FUNC_USEPARAM, | 198 | MENUITEM_FUNCTION_DYNTEXT(band_1_menu, MENU_FUNC_USEPARAM, |
199 | do_center_band_menu, (void*)1, | 199 | do_center_band_menu, (void*)1, |
200 | centerband_get_name, (void*)1, NULL, Icon_EQ); | 200 | centerband_get_name, NULL, (void*)1, NULL, Icon_EQ); |
201 | MENUITEM_FUNCTION_DYNTEXT(band_2_menu, MENU_FUNC_USEPARAM, | 201 | MENUITEM_FUNCTION_DYNTEXT(band_2_menu, MENU_FUNC_USEPARAM, |
202 | do_center_band_menu, (void*)2, | 202 | do_center_band_menu, (void*)2, |
203 | centerband_get_name, (void*)2, NULL, Icon_EQ); | 203 | centerband_get_name, NULL, (void*)2, NULL, Icon_EQ); |
204 | MENUITEM_FUNCTION_DYNTEXT(band_3_menu, MENU_FUNC_USEPARAM, | 204 | MENUITEM_FUNCTION_DYNTEXT(band_3_menu, MENU_FUNC_USEPARAM, |
205 | do_center_band_menu, (void*)3, | 205 | do_center_band_menu, (void*)3, |
206 | centerband_get_name, (void*)3, NULL, Icon_EQ); | 206 | centerband_get_name, NULL, (void*)3, NULL, Icon_EQ); |
207 | MAKE_MENU(band_4_menu, ID2P(LANG_EQUALIZER_BAND_HIGH_SHELF), NULL, | 207 | MAKE_MENU(band_4_menu, ID2P(LANG_EQUALIZER_BAND_HIGH_SHELF), NULL, |
208 | Icon_EQ, &cutoff_4, &q_4, &gain_4); | 208 | Icon_EQ, &cutoff_4, &q_4, &gain_4); |
209 | 209 | ||