From 89eca9eebcec92efaf7bf5ecada3af4fbf540c9f Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Mon, 4 Jun 2007 22:29:55 +0000 Subject: Don't kill the player process (and effectively the decode process) when completely stopped. Instead, send them SIGSTOP to pause the process until they're needed again. Then send them SIGCONT instead of re-spawning them. git-svn-id: https://svn.musicpd.org/mpd/trunk@6485 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/player.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index ce7eebc9b..de44f8e64 100644 --- a/src/player.h +++ b/src/player.h @@ -57,7 +57,6 @@ #define PLAYER_METADATA_STATE_WRITE 2 typedef struct _PlayerControl { - volatile mpd_sint8 quit; volatile mpd_sint8 stop; volatile mpd_sint8 play; volatile mpd_sint8 pause; @@ -122,7 +121,7 @@ int getPlayerError(void); int playerInit(void); -int playerQuit(int fd); +int playerWait(int fd); int queueSong(Song * song); -- cgit v1.2.3