virtual_oss: use hw.snd.default_unit by default
Reviewed by: christos MFC after: 1 week Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr> Sponsored by: Defenso PR: 293130 Pull Request: https://github.com/freebsd/freebsd-src/pull/2043
This commit is contained in:
committed by
Christos Margiolis
parent
0076f6d1ad
commit
06b466526a
@@ -24,6 +24,7 @@ required_modules="cuse"
|
||||
|
||||
configs=
|
||||
pidpath="/var/run/${name}"
|
||||
default_unit=$(sysctl -n hw.snd.default_unit)
|
||||
virtual_oss_default_args="\
|
||||
-S \
|
||||
-C 2 \
|
||||
@@ -32,7 +33,7 @@ virtual_oss_default_args="\
|
||||
-b 24 \
|
||||
-s 8ms \
|
||||
-i 8 \
|
||||
-f /dev/dsp \
|
||||
-f /dev/dsp${default_unit} \
|
||||
-d dsp \
|
||||
-t vdsp.ctl"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user