mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 03:46:19 +00:00
29 lines
763 B
Bash
Executable File
29 lines
763 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "usage: rdu-audio <0-100>"
|
|
echo " The recommended level is 80"
|
|
exit 1
|
|
fi
|
|
|
|
sleep 5
|
|
|
|
VOLUME="$1%"
|
|
|
|
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
|
|
amixer -q sset 'Speaker Driver',0 on
|
|
amixer -q sset 'DAC',0 $VOLUME
|
|
amixer -q sset 'HP Analog',0 $VOLUME
|
|
amixer -q sset 'HP Driver',0 $VOLUME
|
|
amixer -q sset 'HP Driver',0 on
|
|
amixer -q sset 'HP Left',0 on
|
|
amixer -q sset 'HP Right',0 on
|
|
amixer -q sset 'Output Left From AIN1',0 on
|
|
amixer -q sset 'Output Left From AIN2',0 on
|
|
amixer -q sset 'Output Left From Left DAC',0 on
|
|
amixer -q sset 'Output Right From AIN2',0 on
|
|
amixer -q sset 'Output Right From Right DAC',0 on
|