9ac721c23f
Starting with OpenBSD 6.7 regular users cannot access raw audio devices anymore, for improved security. Instead use the sioctl_open(3) API to access and manipulate audio controls exposed by sndiod(8). On the first call a permanent connection is established with the running sndiod daemon, and call-back functions are registered which are triggered when audio controls are changed (e.g., a USB headset is attached) or when the volume is modified. On subsequent calls we poll for changes; if there are no volume changes this costs virtually nothing. Joint work with Alexandre Ratchov |
||
---|---|---|
.. | ||
battery.c | ||
cpu.c | ||
datetime.c | ||
disk.c | ||
entropy.c | ||
hostname.c | ||
ip.c | ||
kernel_release.c | ||
keyboard_indicators.c | ||
keymap.c | ||
load_avg.c | ||
netspeeds.c | ||
num_files.c | ||
ram.c | ||
run_command.c | ||
separator.c | ||
swap.c | ||
temperature.c | ||
uptime.c | ||
user.c | ||
volume.c | ||
wifi.c |