Hi, here's an attempt at documenting the usecase i always forget when playing with multiple devices/mics. Feedback/reworking/tweaks welcome.
Landry Index: sndiod.8 =================================================================== RCS file: /cvs/src/usr.bin/sndiod/sndiod.8,v retrieving revision 1.2 diff -u -r1.2 sndiod.8 --- sndiod.8 18 Jan 2016 11:38:07 -0000 1.2 +++ sndiod.8 24 Jun 2018 15:14:18 -0000 @@ -484,6 +484,21 @@ Regardless of which device a stream is connected to, its playback volume knob is exposed. .Sh EXAMPLES + +Start server at boot using two devices (ex: builtin +.Xr audio 4 + device on +.Pa snd/0 +, and an external +.Xr uaudio 4 +microphone on +.Pa snd/1 +): +.Bd -literal -offset indent +# rcctl set sndiod flags '-frsnd/0 -frsnd/1' +.Ed +.Pp + Start server using default parameters, creating an additional sub-device for output to channels 2:3 only (rear speakers on most cards), exposing the
