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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user