sndio: way to play and record from different devices?
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?
Re: sndio: way to play and record from different devices?
On 2021-04-19, Ax0n 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.
Re: sndio: way to play and record from different devices?
On Mon, Apr 19, 2021 at 09:40:37AM -0500, Ax0n 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. > There's no way (yet) to combine a play-only and a rec-only device into a single full-duplex one. Certain programs don't need full-duplex capability and can use two independent devices; firefox and audacity are not part of them unfortunately. Sorry.