diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
commit | 5df6ff8d22115f8588c321527bd4e33624306422 (patch) | |
tree | 98b285a1292601f04ce7720abec6023ceeb97da3 /src/playerData.c | |
parent | 2a83ccdb8f71d224341ea5a6ddbc002693d887fb (diff) | |
download | mpd-5df6ff8d22115f8588c321527bd4e33624306422.tar.gz mpd-5df6ff8d22115f8588c321527bd4e33624306422.tar.xz mpd-5df6ff8d22115f8588c321527bd4e33624306422.zip |
added OutputBuffer.notify
OutputBuffer should be a more generic low-level library, without
dependencies to the other headers. This patch adds the field
"notify", which is used to signal the player thread. It is passed in
the constructor, and removes the need to compile with the decode.h
header.
Diffstat (limited to 'src/playerData.c')
-rw-r--r-- | src/playerData.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playerData.c b/src/playerData.c index f268c85c6..6af3c5955 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -72,7 +72,7 @@ void initPlayerData(void) buffered_before_play = buffered_chunks; } - ob_init(buffered_chunks); + ob_init(buffered_chunks, &pc.notify); notify_init(&pc.notify); pc.error = PLAYER_ERROR_NOERROR; |