git: 8532b4a43636 - main - rc: virtual_oss: Create a loopback device in the default configuration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 May 2026 17:39:12 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=8532b4a436364d04d5c1feb7af5ecd4b5df71a9f
commit 8532b4a436364d04d5c1feb7af5ecd4b5df71a9f
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-04-17 10:03:30 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-05-21 17:37:34 +0000
rc: virtual_oss: Create a loopback device in the default configuration
The loopback device allows us to record desktop sound by reading from
it, or even use it as an input device, for example during a call.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: emaste
Pull-Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/16
---
libexec/rc/rc.d/virtual_oss | 1 +
1 file changed, 1 insertion(+)
diff --git a/libexec/rc/rc.d/virtual_oss b/libexec/rc/rc.d/virtual_oss
index a25abf256f55..73a486f547a5 100644
--- a/libexec/rc/rc.d/virtual_oss
+++ b/libexec/rc/rc.d/virtual_oss
@@ -39,6 +39,7 @@ virtual_oss_default_args="\
-i 8 \
-f /dev/dsp${default_unit} \
-d dsp \
+ -l dsp.loop \
-t ${virtual_oss_default_control_device}"
# Set to NO by default. Set it to "YES" to enable virtual_oss.