This commit is contained in:
2023-11-19 20:18:20 -07:00
parent 67b50e9133
commit 407ea45346
15 changed files with 5 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh -e
# NetBSD 9.2 STABLE 2021-07
case "$1" in
a*)
audioctl -w play.gain=$2 >/dev/null
exit $?
;;
s*) # hacky
audioctl -a \
| grep "play\.gain" \
| cut -d '=' -f 2
exit $?
;;
esac
exit 1