aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-04 22:29:55 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-04 22:29:55 +0000
commit89eca9eebcec92efaf7bf5ecada3af4fbf540c9f (patch)
tree0c6fc19a0e495694f652a91f6dc0cef3da98d2b1 /src/playerData.c
parent4734a2e2b4d17ec4a03a1fdf08ed0f04bf8d431c (diff)
downloadmpd-89eca9eebcec92efaf7bf5ecada3af4fbf540c9f.tar.gz
mpd-89eca9eebcec92efaf7bf5ecada3af4fbf540c9f.tar.xz
mpd-89eca9eebcec92efaf7bf5ecada3af4fbf540c9f.zip
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
Diffstat (limited to '')
-rw-r--r--src/playerData.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/playerData.c b/src/playerData.c
index e4506c1e7..30ff6d6d6 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -118,7 +118,6 @@ void initPlayerData(void)
buffered_chunks * sizeof(mpd_sint8));
buffer->acceptMetadata = 0;
- playerData_pd->playerControl.quit = 0;
playerData_pd->playerControl.stop = 0;
playerData_pd->playerControl.pause = 0;
playerData_pd->playerControl.play = 0;