mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
iMX6: adjust rdu-audio script and service
This commit is contained in:
parent
f455c0cad6
commit
24a20881b0
@ -6,9 +6,11 @@ if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
|
||||
VOLUME="$1%"
|
||||
|
||||
amixer -q sset 'TPA6130A2 Headphone',0 $VOLUME
|
||||
amixer -q sset 'Headphone',0 $VOLUME
|
||||
amixer -q sset 'Speaker',0 on
|
||||
amixer -q sset 'Speaker Analog',0 $VOLUME
|
||||
amixer -q sset 'Speaker Driver',0 $VOLUME
|
||||
|
@ -5,7 +5,7 @@ ConditionPathExistsGlob=/flash/imx6*-zii-rdu2.dtb
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/rdu-audio 80
|
||||
ExecStart=/usr/bin/rdu-audio 70
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user