aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index ce94833e8..5a907ec85 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -83,11 +83,12 @@ static void quitDecode(PlayerControl * pc, DecoderControl * dc)
pc->play = 0;
pc->stop = 0;
pc->pause = 0;
- kill(getppid(), SIGUSR1);
pid = decode_pid;
if (pid > 0)
kill(pid, SIGSTOP);
+
+ kill(getppid(), SIGUSR1);
}
static int calculateCrossFadeChunks(PlayerControl * pc, AudioFormat * af)