diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2025-10-18 13:17:38 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2025-10-18 13:17:38 +0000 |
| commit | 56eee778325b2c839cfbc86a7fec4a355c51ba58 (patch) | |
| tree | 5ed40a108e04f5af69637b031b11a8f8d2af5f44 | |
| parent | d7ff2ded474871d69f19b0d03deed5f66d78435e (diff) | |
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
| -rw-r--r-- | sbin/devd/snd.conf | 5 |
1 files changed, 4 insertions, 1 deletions
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"; }; |
