AB_REPEAT_ENABLE was never defined to 2
There's only 2 possibilities: defined or undefined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27483 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bff5e3d7ab
commit
7d4414ebd8
55 changed files with 55 additions and 69 deletions
|
@ -28,9 +28,7 @@
|
||||||
|
|
||||||
#define AB_MARKER_NONE 0
|
#define AB_MARKER_NONE 0
|
||||||
|
|
||||||
#if (AB_REPEAT_ENABLE == 1)
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
void ab_repeat_init(void);
|
void ab_repeat_init(void);
|
||||||
#if 0 /* Currently unused */
|
#if 0 /* Currently unused */
|
||||||
|
@ -68,11 +66,7 @@ static inline bool ab_B_marker_set(void)
|
||||||
|
|
||||||
static inline bool ab_repeat_mode_enabled(void)
|
static inline bool ab_repeat_mode_enabled(void)
|
||||||
{
|
{
|
||||||
#if (AB_REPEAT_ENABLE == 2)
|
|
||||||
return ab_A_marker_set() || ab_B_marker_set();
|
|
||||||
#else
|
|
||||||
return global_settings.repeat_mode == REPEAT_AB;
|
return global_settings.repeat_mode == REPEAT_AB;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool ab_reached_B_marker(unsigned int song_position)
|
static inline bool ab_reached_B_marker(unsigned int song_position)
|
||||||
|
|
|
@ -325,7 +325,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw, struct vi
|
||||||
case REPEAT_AB:
|
case REPEAT_AB:
|
||||||
gui_statusbar_icon_play_mode(display, Icon_RepeatAB);
|
gui_statusbar_icon_play_mode(display, Icon_RepeatAB);
|
||||||
break;
|
break;
|
||||||
#endif /* AB_REPEAT_ENABLE == 1 */
|
#endif /* AB_REPEAT_ENABLE */
|
||||||
|
|
||||||
case REPEAT_ONE:
|
case REPEAT_ONE:
|
||||||
gui_statusbar_icon_play_mode(display, Icon_RepeatOne);
|
gui_statusbar_icon_play_mode(display, Icon_RepeatOne);
|
||||||
|
|
|
@ -888,10 +888,6 @@ long gui_wps_show(void)
|
||||||
{
|
{
|
||||||
ab_jump_to_A_marker();
|
ab_jump_to_A_marker();
|
||||||
break;
|
break;
|
||||||
#if (AB_REPEAT_ENABLE == 2)
|
|
||||||
} else {
|
|
||||||
ab_reset_markers();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -915,10 +911,6 @@ long gui_wps_show(void)
|
||||||
{
|
{
|
||||||
ab_jump_to_A_marker();
|
ab_jump_to_A_marker();
|
||||||
break;
|
break;
|
||||||
#if (AB_REPEAT_ENABLE == 2)
|
|
||||||
} else {
|
|
||||||
ab_reset_markers();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
#define CONFIG_TUNER S1A0903X01
|
#define CONFIG_TUNER S1A0903X01
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you have a MAS3587F */
|
/* Define this if you have a MAS3587F */
|
||||||
#define CONFIG_CODEC MAS3587F
|
#define CONFIG_CODEC MAS3587F
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
/* Define this to enable morse code input */
|
/* Define this to enable morse code input */
|
||||||
#define HAVE_MORSE_INPUT
|
#define HAVE_MORSE_INPUT
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have access to the pitchscreen */
|
/* define this if you have access to the pitchscreen */
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/* Define this to enable morse code input */
|
/* Define this to enable morse code input */
|
||||||
#define HAVE_MORSE_INPUT
|
#define HAVE_MORSE_INPUT
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have access to the pitchscreen */
|
/* define this if you have access to the pitchscreen */
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/* define this if you have the Player's keyboard */
|
/* define this if you have the Player's keyboard */
|
||||||
#define CONFIG_KEYPAD PLAYER_PAD
|
#define CONFIG_KEYPAD PLAYER_PAD
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x8000
|
#define PLUGIN_BUFFER_SIZE 0x8000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you have a MAS3587F */
|
/* Define this if you have a MAS3587F */
|
||||||
#define CONFIG_CODEC MAS3587F
|
#define CONFIG_CODEC MAS3587F
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x8000
|
#define PLUGIN_BUFFER_SIZE 0x8000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you have a MAS3587F */
|
/* Define this if you have a MAS3587F */
|
||||||
#define CONFIG_CODEC MAS3587F
|
#define CONFIG_CODEC MAS3587F
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you have the WM8975 audio codec */
|
/* Define this if you have the WM8975 audio codec */
|
||||||
#define HAVE_WM8751
|
#define HAVE_WM8751
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
/* WM8731 has no tone controls, so we use the software ones */
|
/* WM8731 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
/* TODO: #define AB_REPEAT_ENABLE 1 */
|
/* TODO: #define AB_REPEAT_ENABLE */
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
/* WM8731 has no tone controls, so we use the software ones */
|
/* WM8731 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
/* TODO: #define AB_REPEAT_ENABLE 1 */
|
/* TODO: #define AB_REPEAT_ENABLE */
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
#define HAVE_BACKLIGHT
|
#define HAVE_BACKLIGHT
|
||||||
|
|
|
@ -107,7 +107,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
#define CONFIG_KEYPAD IAUDIO_M3_PAD
|
#define CONFIG_KEYPAD IAUDIO_M3_PAD
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
/* Define this to enable morse code input */
|
/* Define this to enable morse code input */
|
||||||
#define HAVE_MORSE_INPUT
|
#define HAVE_MORSE_INPUT
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
/* Define this to enable morse code input */
|
/* Define this to enable morse code input */
|
||||||
#define HAVE_MORSE_INPUT
|
#define HAVE_MORSE_INPUT
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
/* Define this if you have the WM8975 audio codec */
|
/* Define this if you have the WM8975 audio codec */
|
||||||
#define HAVE_WM8975
|
#define HAVE_WM8975
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
/* Define this if you have the WM8975 audio codec */
|
/* Define this if you have the WM8975 audio codec */
|
||||||
#define HAVE_WM8975
|
#define HAVE_WM8975
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
/* WM8721 has no tone controls, so we use the software ones */
|
/* WM8721 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
/* WM8721 has no tone controls, so we use the software ones */
|
/* WM8721 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
/* Define this if you have the WM8975 audio codec */
|
/* Define this if you have the WM8975 audio codec */
|
||||||
#define HAVE_WM8975
|
#define HAVE_WM8975
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
#define CONFIG_KEYPAD IPOD_4G_PAD
|
#define CONFIG_KEYPAD IPOD_4G_PAD
|
||||||
|
|
||||||
//#define AB_REPEAT_ENABLE 1
|
//#define AB_REPEAT_ENABLE
|
||||||
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this to enable morse code input */
|
/* Define this to enable morse code input */
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
/* Define this if you have the WM8758 audio codec */
|
/* Define this if you have the WM8758 audio codec */
|
||||||
#define HAVE_WM8758
|
#define HAVE_WM8758
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
/* WM8731 has no tone controls, so we use the software ones */
|
/* WM8731 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
#define HAVE_BACKLIGHT
|
#define HAVE_BACKLIGHT
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
||||||
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
#define CONFIG_TUNER_XTAL 32768
|
#define CONFIG_TUNER_XTAL 32768
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
/* WM8731 has no tone controls, so we use the software ones */
|
/* WM8731 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
#define HAVE_BACKLIGHT
|
#define HAVE_BACKLIGHT
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */
|
#define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */
|
||||||
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
#define CONFIG_TUNER_XTAL 32768
|
#define CONFIG_TUNER_XTAL 32768
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
#define CONFIG_TUNER_XTAL 32768
|
#define CONFIG_TUNER_XTAL 32768
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x10000
|
#define PLUGIN_BUFFER_SIZE 0x10000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
|
|
||||||
#define CONFIG_KEYPAD MEIZU_M3_PAD
|
#define CONFIG_KEYPAD MEIZU_M3_PAD
|
||||||
|
|
||||||
//#define AB_REPEAT_ENABLE 1
|
//#define AB_REPEAT_ENABLE
|
||||||
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
|
|
||||||
#define CONFIG_KEYPAD MEIZU_M6SL_PAD
|
#define CONFIG_KEYPAD MEIZU_M6SL_PAD
|
||||||
|
|
||||||
//#define AB_REPEAT_ENABLE 1
|
//#define AB_REPEAT_ENABLE
|
||||||
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
#define CONFIG_KEYPAD MEIZU_M6SP_PAD
|
#define CONFIG_KEYPAD MEIZU_M6SP_PAD
|
||||||
|
|
||||||
//#define AB_REPEAT_ENABLE 1
|
//#define AB_REPEAT_ENABLE
|
||||||
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
#define HAVE_WM8751
|
#define HAVE_WM8751
|
||||||
#define CODEC_SRCTRL_44100HZ (0x40|(0x11 << 1)|1)
|
#define CODEC_SRCTRL_44100HZ (0x40|(0x11 << 1)|1)
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
that needs spinups and can cause skips when shaked */
|
that needs spinups and can cause skips when shaked */
|
||||||
|
|
|
@ -126,7 +126,7 @@
|
||||||
/* AK4537 has no tone controls, so we use the software ones */
|
/* AK4537 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
||||||
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
/* AK4537 has no tone controls, so we use the software ones */
|
/* AK4537 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
||||||
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
/* AK4537 has no tone controls, so we use the software ones */
|
/* AK4537 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define BATTERY_CAPACITY_DEFAULT 900 /* default battery capacity */
|
#define BATTERY_CAPACITY_DEFAULT 900 /* default battery capacity */
|
||||||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
/* We have headphone detection */
|
/* We have headphone detection */
|
||||||
#define HAVE_HEADPHONE_DETECTION
|
#define HAVE_HEADPHONE_DETECTION
|
||||||
|
|
||||||
//#define AB_REPEAT_ENABLE 1
|
//#define AB_REPEAT_ENABLE
|
||||||
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x50000
|
#define PLUGIN_BUFFER_SIZE 0x50000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER LV24020LP
|
#define CONFIG_TUNER LV24020LP
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x14000
|
#define PLUGIN_BUFFER_SIZE 0x14000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner - suspected to be the SI4702 */
|
/* FM Tuner - suspected to be the SI4702 */
|
||||||
#define CONFIG_TUNER SI4700
|
#define CONFIG_TUNER SI4700
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x10000
|
#define PLUGIN_BUFFER_SIZE 0x10000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER SI4700 /* in fact SI4702 but let's hope it's compatible */
|
#define CONFIG_TUNER SI4700 /* in fact SI4702 but let's hope it's compatible */
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER (SI4700|RDA5802) /* in fact SI4702 */
|
#define CONFIG_TUNER (SI4700|RDA5802) /* in fact SI4702 */
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER SI4700 /* in fact SI4702 */
|
#define CONFIG_TUNER SI4700 /* in fact SI4702 */
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner */
|
/* FM Tuner */
|
||||||
#define CONFIG_TUNER LV24020LP
|
#define CONFIG_TUNER LV24020LP
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner - suspected to be the SI4702 */
|
/* FM Tuner - suspected to be the SI4702 */
|
||||||
#define CONFIG_TUNER SI4700
|
#define CONFIG_TUNER SI4700
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner - suspected to be the SI4702 */
|
/* FM Tuner - suspected to be the SI4702 */
|
||||||
#define CONFIG_TUNER SI4700
|
#define CONFIG_TUNER SI4700
|
||||||
|
|
|
@ -118,7 +118,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* FM Tuner - suspected to be the SI4702 */
|
/* FM Tuner - suspected to be the SI4702 */
|
||||||
#define CONFIG_TUNER SI4700
|
#define CONFIG_TUNER SI4700
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x10000
|
#define PLUGIN_BUFFER_SIZE 0x10000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x10000
|
#define PLUGIN_BUFFER_SIZE 0x10000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
#define CONFIG_TUNER TEA5767
|
#define CONFIG_TUNER TEA5767
|
||||||
#define CONFIG_TUNER_XTAL 32768
|
#define CONFIG_TUNER_XTAL 32768
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
/* The number of bytes reserved for loadable plugins */
|
/* The number of bytes reserved for loadable plugins */
|
||||||
#define PLUGIN_BUFFER_SIZE 0x80000
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
#define HAVE_BACKLIGHT
|
#define HAVE_BACKLIGHT
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
/* Define this if you have the WM8731 audio codec */
|
/* Define this if you have the WM8731 audio codec */
|
||||||
#define HAVE_WM8731
|
#define HAVE_WM8731
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
|
|
||||||
/* define this if you have a disk storage, i.e. something
|
/* define this if you have a disk storage, i.e. something
|
||||||
that needs spinups and can cause skips when shaked */
|
that needs spinups and can cause skips when shaked */
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
/* WM8731 has no tone controls, so we use the software ones */
|
/* WM8731 has no tone controls, so we use the software ones */
|
||||||
#define HAVE_SW_TONE_CONTROLS
|
#define HAVE_SW_TONE_CONTROLS
|
||||||
|
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE
|
||||||
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
|
||||||
|
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
|
|
Loading…
Reference in a new issue