From 5df6ff8d22115f8588c321527bd4e33624306422 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:05 +0200 Subject: 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. --- src/playerData.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playerData.c') 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; -- cgit v1.2.3