test test test

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21623 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-07-03 20:36:15 +00:00
parent 7f2ddc4923
commit 53be2752d3

View file

@ -24,12 +24,14 @@
#ifdef AB_REPEAT_ENABLE #ifdef AB_REPEAT_ENABLE
unsigned int test = 1;
unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE; unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE;
unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE; unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE;
bool foo = false;
#if (CONFIG_CODEC == SWCODEC) #if (CONFIG_CODEC == SWCODEC)
void ab_end_of_track_report(void) void ab_end_of_track_report(void)
{ {
test = 2;
if ( ab_A_marker_set() && ! ab_B_marker_set() ) if ( ab_A_marker_set() && ! ab_B_marker_set() )
{ {
ab_jump_to_A_marker(); ab_jump_to_A_marker();
@ -38,6 +40,7 @@ void ab_end_of_track_report(void)
#else #else
static int ab_audio_event_handler(unsigned short event, unsigned long data) static int ab_audio_event_handler(unsigned short event, unsigned long data)
{ {
foo = true;
int rc = AUDIO_EVENT_RC_IGNORED; int rc = AUDIO_EVENT_RC_IGNORED;
if ( ab_repeat_mode_enabled() ) if ( ab_repeat_mode_enabled() )
{ {