X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.c;h=a78757b6fead348359b66b641cae528e9c25d95a;hp=295787262ae66589ceb6dc2d56da258e77943ef8;hb=9de1287d67c9562e9140c6dc7deb0c01c4e10cc0;hpb=8aa0f575bcca12ab63ab53141c2144448c457478 diff --git a/audiod.c b/audiod.c index 29578726..a78757b6 100644 --- a/audiod.c +++ b/audiod.c @@ -1,14 +1,13 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file audiod.c the paraslash's audio daemon */ +/** \file audiod.c The paraslash's audio daemon. */ #include #include #include -#include #include "para.h" #include "error.h" @@ -1160,7 +1159,7 @@ static void status_pre_select(struct sched *s, struct task *t) if (must_start_decoder()) goto min_delay; - ret = btr_node_status(st->btrn, 0, BTR_NT_LEAF); + ret = btr_node_status(st->btrn, st->min_iqs, BTR_NT_LEAF); if (ret > 0) goto min_delay; if (st->ct && audiod_status == AUDIOD_OFF)