aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:14:38 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:14:38 +0000
commitb7ac3fab465f883220790df8cad84d8bd96446bb (patch)
treec283785ec78fd9ea9b803f7400aa4fe060cd44e8 /src/playerData.c
parent701cf6884ceb8a5a4791211258ce5d298d38e22f (diff)
downloadmpd-b7ac3fab465f883220790df8cad84d8bd96446bb.tar.gz
mpd-b7ac3fab465f883220790df8cad84d8bd96446bb.tar.xz
mpd-b7ac3fab465f883220790df8cad84d8bd96446bb.zip
use the notify API in the player
git-svn-id: https://svn.musicpd.org/mpd/trunk@7282 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/playerData.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/playerData.c b/src/playerData.c
index 3261d444a..27b69cfb2 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -96,6 +96,7 @@ void initPlayerData(void)
initOutputBuffer(&(playerData_pd->buffer),
(OutputBufferChunk*)(((char *)playerData_pd) + sizeof(PlayerData)));
+ notifyInit(&playerData_pd->playerControl.notify);
playerData_pd->playerControl.stop = 0;
playerData_pd->playerControl.pause = 0;
playerData_pd->playerControl.play = 0;