abuf_flush() must be called only from the ``xxx_in()'' routines (ie
authorratchov <ratchov@openbsd.org>
Wed, 20 Aug 2008 14:22:50 +0000 (14:22 +0000)
committerratchov <ratchov@openbsd.org>
Wed, 20 Aug 2008 14:22:50 +0000 (14:22 +0000)
commit82de4e1b5eda22581bb93252dc3341fb160bdb73
tree9753ce48d79fddb763a10514c8652b121f6b1845
parenta632f5236acc817bf9fada0400b062b3a8352f79
abuf_flush() must be called only from the ``xxx_in()'' routines (ie
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
usr.bin/aucat/aproc.c