git: 56eee778325b - main - devd/snd.conf: Note that any command can be used for the action

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Sat, 18 Oct 2025 13:18:07 UTC
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=56eee778325b2c839cfbc86a7fec4a355c51ba58

commit 56eee778325b2c839cfbc86a7fec4a355c51ba58
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-10-18 13:17:38 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-10-18 13:17:38 +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
---
 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";
 };