mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Remove explicit 'enum codec_command_action' in codec API
Just use long so the compiler potentially doesn't complain about use of other values not in the enum. It's also the type used around the system for event ids. Increase min codec API version. No functional changes. Change-Id: If4419b42912f5e4ef673adcdeb69313e503f94cc
This commit is contained in:
parent
83e8e35a58
commit
6c868dd48f
46 changed files with 55 additions and 52 deletions
|
@ -349,8 +349,7 @@ static void codec_configure_callback(int setting, intptr_t value)
|
|||
dsp_configure(ci.dsp, setting, value);
|
||||
}
|
||||
|
||||
static enum codec_command_action
|
||||
codec_get_command_callback(intptr_t *param)
|
||||
static long codec_get_command_callback(intptr_t *param)
|
||||
{
|
||||
yield();
|
||||
|
||||
|
@ -361,7 +360,7 @@ static enum codec_command_action
|
|||
be expected) */
|
||||
while (1)
|
||||
{
|
||||
enum codec_command_action action = CODEC_ACTION_NULL;
|
||||
long action = CODEC_ACTION_NULL;
|
||||
struct queue_event ev;
|
||||
|
||||
queue_peek(&codec_queue, &ev); /* Find out what it is */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue