Is there a way to listen for volume changes? I wrote an OSS service for Quickshell, which relies on manual controls refresh. It would be nice to drive signals through events, but kqueue cannot listen for mixers, and devd does not emit any mixer-related events.
github.com
services/oss: add freebsd sound module by charlesrocket · Pull Request #474 · quickshell-mirror/quickshell
This adds OSS support on FBSD targets. Tested with Realtek ALC257 (Analog 2.0+HP/2.0)> on hdaa0 (play/rec) (default), T480 (FreeBSD 15.0-RELEASE-p1 GENERIC). // audio RowLayout { spacing: 8 ...