return 1;
}
-static void opusdec_pre_select(struct sched *s, struct task *t)
-{
- struct filter_node *fn = container_of(t, struct filter_node, task);
- struct btr_node *btrn = fn->btrn;
- int ns;
-
- ns = btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL);
- if (ns != 0)
- return sched_min_delay(s);
- sched_request_timeout_ms(100, s);
-}
-
static int opusdec_post_select(__a_unused struct sched *s, struct task *t)
{
struct filter_node *fn = container_of(t, struct filter_node, task);
f->open = opusdec_open;
f->close = opusdec_close;
f->pre_select = generic_filter_pre_select;
- f->pre_select = opusdec_pre_select;
f->post_select = opusdec_post_select;
f->execute = opusdec_execute;
}