CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/01/22 02:24:26
Modified files:
include : sndio.h
lib/libsndio : Symbols.map amsg.h shlib_version sio.c
sio_aucat.c sio_open.3 sio_priv.h sio_sun.c
usr.bin/sndiod : dev.c dev.h siofile.c sock.c sock.h
Log message:
libsndio: Add the new sio_onxrun(3) function to report underruns
libsndio recovers after underruns, so in most cases they should just
be ignored. However there are cases where a program may use an external
audio clock (ex. an RTP stream) and resample to make the local audio
rate match the remote rate to keep the latency constant. To do so, the
program must measure continuously the clock drift and calculate the
resampling ratio. Upon underrun, such programs must restart the
measurements, hence the need for this new interface.
ok armani