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

@@ -56,14 +56,6 @@ static void player_command(enum player_command cmd)
}
}
void player_command_finished()
{
assert(pc.command != PLAYER_COMMAND_NONE);
pc.command = PLAYER_COMMAND_NONE;
wakeup_main_task();
}
void playerPlay(Song * song)
{
assert(pc.queueLockState == PLAYER_QUEUE_UNLOCKED);