triggered by POLLIN condition).
mix_pushzero() is not called from the ``xxx_in()'' chain, but calls
abuf_flush() resulting in bad initialization of the mixer, which
will lead to a deadlock at some point.
ok jakemsr
-/* $OpenBSD: aproc.c,v 1.10 2008/08/14 09:58:55 ratchov Exp $ */
+/* $OpenBSD: aproc.c,v 1.11 2008/08/20 14:22:50 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
abuf_wcommit(obuf, obuf->mixtodo);
obuf->mixtodo = 0;
- abuf_flush(obuf);
+ abuf_run(obuf);
mix_bzero(p);
}