summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-12-08 21:32:54 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-12-08 21:32:54 -0500
commite86ea6bdb9976d5142ba924565dbdf96bf9826a7 (patch)
treed8f25fb2da5dbc83100a68a8364365fbf0b20f63
parent6c868dd48feb23042576119b3052f9c88280d464 (diff)
downloadrockbox-e86ea6bdb9976d5142ba924565dbdf96bf9826a7.tar.gz
rockbox-e86ea6bdb9976d5142ba924565dbdf96bf9826a7.zip
Get test_codec synced with changes in 6c868dd
Change-Id: I47c5ae09ff620b46e42463654e1a073b59fb2191
-rw-r--r--apps/plugins/test_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 78f8dd61a8..01efcf69e5 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -119,7 +119,7 @@ static uint32_t crc32;
static volatile unsigned int elapsed;
static volatile bool codec_playing;
-static volatile enum codec_command_action codec_action;
+static volatile long codec_action;
static volatile long endtick;
static volatile long rebuffertick;
struct wavinfo_t wavinfo;
@@ -474,7 +474,7 @@ static void seek_complete(void)
}
/* Codec calls this to know what it should do next. */
-static enum codec_command_action get_command(intptr_t *param)
+static long get_command(intptr_t *param)
{
rb->yield();
return codec_action;