From d628eb3e8bb2b7e9db5ef6f5b907ac2a81afc86a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jan 2009 13:44:33 +0100 Subject: player_control: added player_control.thread player_control.thread contains the handle of the player thread, or NULL if the player thread isn't running. --- src/player_control.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/player_control.h') diff --git a/src/player_control.h b/src/player_control.h index 441c055c..508798ff 100644 --- a/src/player_control.h +++ b/src/player_control.h @@ -62,6 +62,10 @@ enum player_error { struct player_control { unsigned int buffered_before_play; + /** the handle of the player thread, or NULL if the player + thread isn't running */ + GThread *thread; + struct notify notify; volatile enum player_command command; volatile enum player_state state; -- cgit v1.2.3