I've been on a quest to figure out how to capture audio output for a long time. Apparently OSS doesn't natively support it. Recently I managed to kind of do it using audio/virtual_oss (specifically
virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 1024 -f /dev/null -w vdsp -l dsp
), but with two inadequacies: - It stops the audio from playing at the same time. Ideally I could use to be able to hear it and record it at the same time.
- I can't get OBS to detect the virtual device, so the audio output recording has to be done separately from audio input and video (causing difficulties with synchronization). I know OBS depends on pulseaudio to be able to detect any devices on FreeBSD.