aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:14:32 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:14:32 +0000
commit701cf6884ceb8a5a4791211258ce5d298d38e22f (patch)
tree3961c3ff3a05c34106e438ab851fe4e7d123fe16 /src/playerData.c
parent0146fbe3ceab96759f1e55e73daaa6d6d7bc4b9b (diff)
downloadmpd-701cf6884ceb8a5a4791211258ce5d298d38e22f.tar.gz
mpd-701cf6884ceb8a5a4791211258ce5d298d38e22f.tar.xz
mpd-701cf6884ceb8a5a4791211258ce5d298d38e22f.zip
use the notify API in the decoder
git-svn-id: https://svn.musicpd.org/mpd/trunk@7281 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 f9cc314a9..3261d444a 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -113,6 +113,7 @@ void initPlayerData(void)
playerData_pd->playerControl.softwareVolume = 1000;
playerData_pd->playerControl.totalPlayTime = 0;
+ notifyInit(&playerData_pd->decoderControl.notify);
playerData_pd->decoderControl.stop = 0;
playerData_pd->decoderControl.start = 0;
playerData_pd->decoderControl.state = DECODE_STATE_STOP;