CVSROOT:        /cvs
Module name:    src
Changes by:     ratc...@cvs.openbsd.org 2014/03/05 13:40:49

Modified files:
        lib/libsndio   : sio.c sio_aucat.c sio_priv.h sio_sun.c 

Log message:
- use relative read/write positions to keep track of buffer
usage as seen by the caller
- refresh current position before reading/writing data, to keep the
current position always consistent with read & write pointers
- fix confusion between processed samples by the hardware (as reported
by GET{I,O}OFFS) and samples played as reported by GETINFO(). Fixes
incorrect delta propagated after xruns in play-only and rec-only
modes
- don't wait for POLLIN or POLLOUT to be set to refresh ring pointers,
as they may not be set in certain cases. Fixes sndiod crash after
few days of continuous playback.
- save current parameters instead of calling getpar() too often

Reply via email to