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:
parent
91c416df2c
commit
6aeb39d78d
1 changed files with 5 additions and 0 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue