moved player_command_finished() to player_thread.c

This commit is contained in:
Max Kellermann
2008-08-26 08:45:15 +02:00
parent e2c8b960de
commit f34f694ec3
3 changed files with 8 additions and 10 deletions

View File

@@ -32,6 +32,14 @@ enum xfade_state {
XFADE_ENABLED = 1
};
static void player_command_finished(void)
{
assert(pc.command != PLAYER_COMMAND_NONE);
pc.command = PLAYER_COMMAND_NONE;
wakeup_main_task();
}
static void quitDecode(void)
{
dc_stop(&pc.notify);