]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
audiod: Fix bug in status_pre_select().
[paraslash.git] / audiod.c
index 88411af46616879040a8691308ed4ca639fc5475..4858366e697973f52d9e20495e16072422632249 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -1159,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)