mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
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
This commit is contained in:
parent
d7ff2ded47
commit
56eee77832
1 changed files with 4 additions and 1 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue