summaryrefslogtreecommitdiff
path: root/apps/menus/eq_menu.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-08-25 20:10:37 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-08-26 19:34:18 +0000
commit30e96a373210f47da7a25276d49d5f7672f893d5 (patch)
tree6d95a1033d9901dab901f1a536315089a5db700e /apps/menus/eq_menu.h
parentb2386405b995ecb0b57addf743a128ee3c5b0a35 (diff)
downloadrockbox-30e96a373210f47da7a25276d49d5f7672f893d5.tar.gz
rockbox-30e96a373210f47da7a25276d49d5f7672f893d5.zip
quickscreen: fix EQ enable not working in quickscreen
The EQ enabled setting needs to call into the DSP core when it's changed but this was only hooked into the EQ menu. The quickscreen uses option_select_next_val() so those DSP hooks were not getting called because the setting did not have any callback defined. It seems this bug was introduced by 362f7a3220 removing the blanket call to settings_apply(). Other settings might be affected too. Change-Id: Idcce5809c525fa619e6bdf1be50c98a5df103fec
Diffstat (limited to 'apps/menus/eq_menu.h')
-rw-r--r--apps/menus/eq_menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menus/eq_menu.h b/apps/menus/eq_menu.h
index 04e8be2ead..f99f83d94f 100644
--- a/apps/menus/eq_menu.h
+++ b/apps/menus/eq_menu.h
@@ -48,4 +48,7 @@ const char* eq_q_format(char* buffer, size_t buffer_size, int value,
48const char* eq_precut_format(char* buffer, size_t buffer_size, int value, 48const char* eq_precut_format(char* buffer, size_t buffer_size, int value,
49 const char* unit); 49 const char* unit);
50 50
51/* callbacks for settings_list.c */
52void eq_enabled_option_callback(bool enabled);
53
51#endif 54#endif