summaryrefslogtreecommitdiff
path: root/apps/abrepeat.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-07-03 20:36:15 +0000
committerThomas Martitz <kugel@rockbox.org>2009-07-03 20:36:15 +0000
commit53be2752d3c2b6c90483a92f340f5bb6f7ef0eb8 (patch)
treea4e076409dfbe30b36d966d8c206c4180865e31e /apps/abrepeat.c
parent7f2ddc49234d5ff3be37042c2cf822f55f32cfca (diff)
test test test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21623 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/abrepeat.c')
-rw-r--r--apps/abrepeat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/abrepeat.c b/apps/abrepeat.c
index 5fbd880a17..f6ca3096cb 100644
--- a/apps/abrepeat.c
+++ b/apps/abrepeat.c
@@ -24,12 +24,14 @@
#ifdef AB_REPEAT_ENABLE
+unsigned int test = 1;
unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE;
unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE;
-
+bool foo = false;
#if (CONFIG_CODEC == SWCODEC)
void ab_end_of_track_report(void)
{
+ test = 2;
if ( ab_A_marker_set() && ! ab_B_marker_set() )
{
ab_jump_to_A_marker();
@@ -38,6 +40,7 @@ void ab_end_of_track_report(void)
#else
static int ab_audio_event_handler(unsigned short event, unsigned long data)
{
+ foo = true;
int rc = AUDIO_EVENT_RC_IGNORED;
if ( ab_repeat_mode_enabled() )
{