Commit 4196886e authored by Warren Dukes's avatar Warren Dukes

close audio() and audioDriver() on decode process fork

git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 158c23f2
...@@ -230,6 +230,9 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af, ...@@ -230,6 +230,9 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af,
/* CHILD */ /* CHILD */
unblockSignals(); unblockSignals();
finishAudio();
finishAudioDriver();
while(1) { while(1) {
if(dc->start) { if(dc->start) {
strncpy(dc->file,pc->file,MAXPATHLEN); strncpy(dc->file,pc->file,MAXPATHLEN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment