Revert back to mapped volume mode when changing volume.
This commit is contained in:
parent
54fa8fed69
commit
e5017e6f30
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ if [ "${1}" == "vol" ];then
|
|||
[ "$STEPVOL" -ge "$MAXVOL" ] && STEPVOL="$MAXVOL"
|
||||
[ "$STEPVOL" -le "$MINVOL" ] && STEPVOL="$MINVOL"
|
||||
|
||||
amixer set "${DEVICE_AUDIO_MIXER}" ${STEPVOL}%
|
||||
amixer -M set "${DEVICE_AUDIO_MIXER}" ${STEPVOL}%
|
||||
alsactl store -f /storage/.config/asound.state
|
||||
set_setting "audio.volume" ${STEPVOL}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue