From: Andre Noll Date: Tue, 15 Apr 2008 05:24:44 +0000 (+0200) Subject: audiod: Do not restart the receiver too early. X-Git-Tag: v0.3.3~67 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=64b396b619cdcfe7c621209a23e6d6057a5b631b audiod: Do not restart the receiver too early. Wait at least until the receiver node has been closed. --- diff --git a/audiod.c b/audiod.c index c17a4ae4..f4ff3ed3 100644 --- a/audiod.c +++ b/audiod.c @@ -383,8 +383,7 @@ static int receiver_running(int format) FOR_EACH_SLOT(i) { struct slot_info *s = &slot[i]; - if (s->format == format && s->receiver_node - && s->receiver_node->task.error >= 0) + if (s->format == format && s->receiver_node) return 1; } return 0;