Set the card 0 volume to 100% and then set the system volume. This corrects conditions where the pipewire volume is not the same as the card 0 volume which results in low volume output.

This commit is contained in:
fewtarius 2023-11-01 22:13:10 +00:00
parent 91c416df2c
commit 6aeb39d78d
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -37,5 +37,10 @@ then
VOLUME="${DEVICE_VOLUME}"
fi
### Set the primary card volume to 100%
### to eliminate low audio on some devices.
amixer -c 0 -q sset "Master" 100%
### Now set the pipewire mixer volume
/usr/bin/volume ${VOLUME}