From f660f3dd5767bbf7ffb4ad2c86baea0436469524 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 14 Nov 2023 11:47:53 +0100 Subject: [PATCH] Update 2023-11-14 11:47:52 --- .../2023-11-14_OpenBSD_sndio_and_multiple_devices.draft.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posts/2023-11-14_OpenBSD_sndio_and_multiple_devices.draft.pm b/src/posts/2023-11-14_OpenBSD_sndio_and_multiple_devices.draft.pm index b4b18e6..8390ed8 100644 --- a/src/posts/2023-11-14_OpenBSD_sndio_and_multiple_devices.draft.pm +++ b/src/posts/2023-11-14_OpenBSD_sndio_and_multiple_devices.draft.pm @@ -11,6 +11,7 @@ You can start sndiod with additional `-F` flags, which define additional devices ``` You can set these flags permanently with: + ``` # rcctl set sndiod flags -f rsnd/0 -F rsnd/1 -F rsnd/2 -F rsnd/3 ``` @@ -33,6 +34,7 @@ Let's say I want to connect USB microphone, but I want to to play back sound on This works by setting the environment variables `AUDIORECDEVICE` and `AUDIOPLAYDEVICE` accordingly. Example: + ``` export AUDIORECDEVICE=snd/1 export AUDIORECDEVICE=snd/0