On 2021-04-19, Ax0n <a...@h-i-r.net> wrote: > I have a nice microphone attached to a USB sound device, but I'd like to > rely on my computer's built-in line out for speakers from the same program > (e.g. Audacity, Firefox). It feels like sndio might have some way to let > programs use snd/0.play and snd/1.rec, or a way to make snd/1 the default > device for record and snd/0 the default for play, or maybe even a virtual > sound device, but I haven't been able to sort out how to make it work. > > Ideas? >
see sndio(7) :- ENVIRONMENT AUDIODEVICE Audio device descriptor to use when no descriptor is explicitly specified to a program. AUDIOPLAYDEVICE Audio device descriptor to use for play-only mode when no descriptor is explicitly specified to a program. Overrides AUDIODEVICE. AUDIORECDEVICE Audio device descriptor to use for record-only mode when no descriptor is explicitly specified to a program. Overrides AUDIODEVICE.