sio_write blocking?

From: Elijah Stone <elronnd_at_elronnd.net>
Date: Tue, 9 Feb 2021 19:35:12 -0800 (PST)
Hi all,

The manual page for sndio currently says:

> using the buffer usage to guess if sio_write() would block is false and 
> leads to unreliable programs

Why is this?  Is it perhaps talking about using bufsz instead of appbufsz?

(Additionally, is there a way to tell how much can be written without 
blocking?  An equivalent to alsa's snd_pcm_avail or SNDCTL_DSP_GETOSPACE?)

  -E
Received on Wed Feb 10 2021 - 04:35:12 CET

This archive was generated by hypermail 2.3.0 : Tue Aug 09 2022 - 16:23:50 CEST