summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2013-02-18 18:46:24 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2013-02-18 18:54:14 +1100
commit371b142b4b81f6a4a86dc20de184adfe44227fcd (patch)
tree387d8b67ff229b12be96f419de0e96eb4f7df9df
parentc1305ce0883cc99f344001ea7228ed32dcb6c9c4 (diff)
downloadrockbox-371b142b4b81f6a4a86dc20de184adfe44227fcd.tar.gz
rockbox-371b142b4b81f6a4a86dc20de184adfe44227fcd.tar.bz2
rockbox-371b142b4b81f6a4a86dc20de184adfe44227fcd.zip
Fix advanced EQ menu
Change-Id: Ie2c3db2299fa2c34277e2118c922a93fa2420b9a
-rw-r--r--apps/menus/eq_menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c
index 8285850155..63df6bee15 100644
--- a/apps/menus/eq_menu.c
+++ b/apps/menus/eq_menu.c
@@ -384,20 +384,22 @@ static int eq_do_advanced_menu(void * param)
setting.lang_id = LANG_EQUALIZER_BAND_CENTER;
setting.default_val.int_ = eq_defaults[band].cutoff;
setting.int_setting = &cutoff_int_setting;
+ setting.setting = &global_settings.eq_band_settings[band].cutoff;
break;
case 2: /* Q */
setting.lang_id = LANG_EQUALIZER_BAND_Q;
setting.default_val.int_ = eq_defaults[band].q;
setting.int_setting = &q_int_setting;
+ setting.setting = &global_settings.eq_band_settings[band].q;
break;
case 3: /* Gain */
setting.lang_id = LANG_GAIN;
setting.default_val.int_ = eq_defaults[band].gain;
setting.int_setting = &gain_int_setting;
+ setting.setting = &global_settings.eq_band_settings[band].gain;
break;
}
pcmbuf_set_low_latency(true);
- setting.setting = &global_settings.eq_band_settings[band].gain;
advancedmenu_item_get_name(info.selection, &selected_band, title, MAX_PATH);
option_screen(&setting, NULL, false, title[0] == '\t' ? &title[1] : title);