From ae0033028595b96352c1c769eaeeeaa0c12bccb9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:16 +0200 Subject: rewrote playerKill() playerKill() was marked as deprecated, but it seems like a good idea to do proper cleanup in all threads (e.g. for usable valgrind results). Introduce the command "EXIT" which makes the player thread exit cleanly. --- src/player.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index 2b1e6d992..5df32e154 100644 --- a/src/player.h +++ b/src/player.h @@ -32,6 +32,7 @@ enum player_state { enum player_command { PLAYER_COMMAND_NONE = 0, + PLAYER_COMMAND_EXIT, PLAYER_COMMAND_STOP, PLAYER_COMMAND_PLAY, PLAYER_COMMAND_PAUSE, -- cgit v1.2.3