libsndio: Don't use poll(2) for output on the control device.
authorratchov <ratchov@openbsd.org>
Tue, 23 Jul 2024 08:36:51 +0000 (08:36 +0000)
committerratchov <ratchov@openbsd.org>
Tue, 23 Jul 2024 08:36:51 +0000 (08:36 +0000)
commit544c3c0015fc10b18fc094d79fd9c48ed783e420
tree399ec9f7eb4ebb2c4c8425ac6bd23cc062cbfb64
parent60ba7eeccb93b3238cfdb72f1884eb7b4b973d79
libsndio: Don't use poll(2) for output on the control device.

The AUDIO_MIXER_WRITE ioctl always succeeds without blocking, so no
need to use poll(2) for output. The audio(4) control device driver
doesn't implement the corresponding struct filterops anyway.

Fixes delayed level settings.
lib/libsndio/sioctl_sun.c