audio: catch end of file message in ausrc error handler
@@ -918,9 +918,14 @@ static void ausrc_error_handler(int err, const char *str, void *arg)
struct audio *a = arg;
MAGIC_CHECK(a);
+ if (!err) {
+ warning("audio: ausrc warning (%s)\n", str);
+ }
+ else {
if (a->errh)
a->errh(err, str, a->arg);
}
+}
static void handle_telev(struct audio *a, struct mbuf *mb)
