git: 4b1e094b5e0b - stable/15 - devd/snd.conf: Note that any command can be used for the action
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Oct 2025 18:03:22 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=4b1e094b5e0b3781efd3fdff074fb1f160c17d16
commit 4b1e094b5e0b3781efd3fdff074fb1f160c17d16
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-10-18 13:17:38 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-10-19 18:02:47 +0000
devd/snd.conf: Note that any command can be used for the action
Sponsored by: The FreeBSD Foundation
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D53175
(cherry picked from commit 56eee778325b2c839cfbc86a7fec4a355c51ba58)
---
sbin/devd/snd.conf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sbin/devd/snd.conf b/sbin/devd/snd.conf
index cf9cd9e94191..a45f427f6c79 100644
--- a/sbin/devd/snd.conf
+++ b/sbin/devd/snd.conf
@@ -5,6 +5,9 @@ notify 0 {
match "type" "IN";
match "cdev" "dsp[0-9]+";
+ # Other audio servers or device switching commands can be used here
+ # instead of virtual_oss(8).
+ #
# FIXME: We are hardcoding /dev/vdsp.ctl here, simply because it is a
# common virtual_oss control device name. Until we find a proper way to
# define control devices here, /dev/vdsp.ctl can be changed to the
@@ -18,6 +21,6 @@ notify 0 {
match "type" "OUT";
match "cdev" "dsp[0-9]+";
- # FIXME: See comment above.
+ # See comment above.
action "/usr/sbin/virtual_oss_cmd /dev/vdsp.ctl -P /dev/$cdev";
};