1
0
Fork 0
forked from len0rd/rockbox

Get test_codec synced with changes in 6c868dd

Change-Id: I47c5ae09ff620b46e42463654e1a073b59fb2191
This commit is contained in:
Michael Sevakis 2017-12-08 21:32:54 -05:00
parent 6c868dd48f
commit e86ea6bdb9

View file

@ -119,7 +119,7 @@ static uint32_t crc32;
static volatile unsigned int elapsed; static volatile unsigned int elapsed;
static volatile bool codec_playing; 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 endtick;
static volatile long rebuffertick; static volatile long rebuffertick;
struct wavinfo_t wavinfo; struct wavinfo_t wavinfo;
@ -474,7 +474,7 @@ static void seek_complete(void)
} }
/* Codec calls this to know what it should do next. */ /* 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(); rb->yield();
return codec_action; return codec_action;