Move Hardware Equalizer menu up a level so it's no longer a sub-menu of the software equalizer.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dan Everton 2006-08-15 10:21:32 +00:00
parent eb1dd38960
commit aa38ce54bb
3 changed files with 8 additions and 4 deletions

View file

@ -1223,7 +1223,7 @@ static bool eq_hw_set_band4(void)
return result;
}
static bool eq_hw_menu(void)
bool eq_hw_menu(void)
{
int m;
bool result;
@ -1256,9 +1256,6 @@ bool eq_menu(void)
{ ID2P(LANG_EQUALIZER_PRECUT), eq_precut },
{ ID2P(LANG_EQUALIZER_GAIN), eq_gain_menu },
{ ID2P(LANG_EQUALIZER_ADVANCED), eq_advanced_menu },
#ifdef HAVE_WM8758
{ ID2P(LANG_EQUALIZER_HARDWARE), eq_hw_menu },
#endif
{ ID2P(LANG_EQUALIZER_SAVE), eq_save_preset },
{ ID2P(LANG_EQUALIZER_BROWSE), eq_browse_presets },
};

View file

@ -20,9 +20,13 @@
#define _EQ_MENU_H
#include "menu.h"
#include "config.h"
bool eq_browse_presets(void);
bool eq_menu_graphical(void);
bool eq_menu(void);
#ifdef HAVE_WM8758
bool eq_hw_menu(void);
#endif
#endif

View file

@ -560,6 +560,9 @@ bool sound_menu(void)
{ ID2P(LANG_CROSSFEED), crossfeed_menu },
{ ID2P(LANG_EQUALIZER), eq_menu },
#endif
#ifdef HAVE_WM8758
{ ID2P(LANG_EQUALIZER_HARDWARE), eq_hw_menu },
#endif
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
{ ID2P(LANG_LOUDNESS), loudness },
{ ID2P(LANG_AUTOVOL), avc },