on openbsd it's necessary to change a sysctl to enable audio recording:
$ doas sysctl.kern.audio.record=1
in /etc/sysctl.conf:
kern.audio.record=1