Toggle low latency mode when entering/exiting the eq menu to make the
changes more instant. should fix FS#7640 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14506 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ce2142ec5b
commit
4ecd9716bd
2 changed files with 5 additions and 2 deletions
|
@ -635,7 +635,8 @@ MENUITEM_FUNCTION(eq_save, 0, ID2P(LANG_EQUALIZER_SAVE),
|
|||
MENUITEM_FUNCTION(eq_browse, 0, ID2P(LANG_EQUALIZER_BROWSE),
|
||||
(int(*)(void))eq_browse_presets, NULL, NULL, Icon_NOICON);
|
||||
|
||||
MAKE_MENU(equalizer_menu, ID2P(LANG_EQUALIZER), NULL, Icon_EQ,
|
||||
int soundmenu_callback(int action,const struct menu_item_ex *this_item);
|
||||
MAKE_MENU(equalizer_menu, ID2P(LANG_EQUALIZER), soundmenu_callback, Icon_EQ,
|
||||
&eq_enable, &eq_graphical, &eq_precut, &gain_menu,
|
||||
&advanced_eq_menu_, &eq_save, &eq_browse);
|
||||
|
||||
|
|
|
@ -36,7 +36,9 @@
|
|||
/***********************************/
|
||||
/* SOUND MENU */
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
int soundmenu_callback(int action,const struct menu_item_ex *this_item)
|
||||
/* This callback is also used in the eq menu to toggle low latency mode.
|
||||
So, remember this if the callback is used for anything other than the togging */
|
||||
int soundmenu_callback(int action, const struct menu_item_ex *this_item)
|
||||
{
|
||||
(void)this_item;
|
||||
switch (action)
|
||||
|
|
Loading…
Reference in a new issue