From efde884a134a3b9f1468eb743898f579fc88746e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:07 +0200 Subject: added PlayerControl.command PlayerControl.command replaces the old attributes play, stop, pause, closeAudio, lockQueue, unlockQueue, seek. The main thread waits for each command synchronously, so there can only be one command enabled at a time anyway. --- src/playerData.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/playerData.c') diff --git a/src/playerData.c b/src/playerData.c index 6af3c5955..441fe883f 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -75,6 +75,7 @@ void initPlayerData(void) ob_init(buffered_chunks, &pc.notify); notify_init(&pc.notify); + pc.command = PLAYER_COMMAND_NONE; pc.error = PLAYER_ERROR_NOERROR; pc.state = PLAYER_STATE_STOP; pc.queueState = PLAYER_QUEUE_BLANK; -- cgit v1.2.3