From 4196886e93be1de72b3a5057e2ccad3d84b92c5c Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 17 Apr 2004 12:36:15 +0000 Subject: close audio() and audioDriver() on decode process fork git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/decode.c b/src/decode.c index fc0bd84af..8f1de21f5 100644 --- a/src/decode.c +++ b/src/decode.c @@ -230,6 +230,9 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af, /* CHILD */ unblockSignals(); + finishAudio(); + finishAudioDriver(); + while(1) { if(dc->start) { strncpy(dc->file,pc->file,MAXPATHLEN); -- cgit v1.2.3