Graying is not exact, ignore it for now. Whenever a value is zero, the menu code thinks it's off and grays it. Disable CONFIG_MENU_DIM_HACKS and should be OK.
The change for analog gain looks alright, should toggle exactly the same as before:
static void analog_gain_toggle( void * priv, int delta )
{
- menu_numeric_toggle(priv, 1, 0, 7);
- audio_ic_set_analog_gain();
-}
-static void analog_gain_toggle_reverse( void * priv, int delta )
-{
- menu_numeric_toggle(priv, -1, 0, 7);
+ menu_numeric_toggle(priv, delta, 0, 7);
audio_ic_set_analog_gain();
}
Can you show a screenshot with what's wrong?