/*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2012 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file wav_filter.c A filter that inserts a wave header. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
t->error = 0;
if (iqs == 0)
return;
- s->timeout.tv_sec = 0;
- s->timeout.tv_usec = 1;
+ sched_min_delay(s);
}
static void wav_post_select(__a_unused struct sched *s, struct task *t)
if (ret == -E_WAV_SUCCESS)
btr_splice_out_node(btrn);
else {
- btr_remove_node(btrn);
+ btr_remove_node(&fn->btrn);
PARA_ERROR_LOG("%s\n", para_strerror(-ret));
}
}