OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Alexandre Ratchov (ratchovcvs.openbsd.org)
Date: Mon Jun 02 2008 - 12:03:25 CDT


CVSROOT: /cvs
Module name: src
Changes by: ratchovcvs.openbsd.org 2008/06/02 11:03:25

Modified files:
        usr.bin/aucat : abuf.h aproc.c

Log message:
Allows any input/output stream to underrun/overrun without disturbing
other streams. Beside making aucat usable with slow apps (eg. cdio),
this change will ease turning aucat into an audio server later

if one of the input buffers underruns, then silence is generated in
place of the missing samples. Later, as many samples are dropped in
order to maintain the stream in sync with the rest

if one of the output buffers overruns then newer samples are
discarded. Later silence is generated in order to maintain the
stream in sync with the rest.

ok jakemsr