modify sound card enable script

This commit is contained in:
wangzijiao 2018-12-27 20:54:50 +08:00
parent d7b4254835
commit 702ee4d770
1 changed files with 5 additions and 5 deletions

View File

@ -44,12 +44,12 @@ echo "wzj: DBUS_SESSION_BUS_ADDRESS=\"$DBUS_SESSION_BUS_ADDRESS\"" >> $LOG
enable_soundcard() {
echo "set r311 audio pass through"
amixer cset numid=20 1
amixer cset numid=46 1
amixer cset numid=50 1
amixer cset iface=MIXER,name='DACR Mixer AIF1DA0R Switch' 1
amixer cset iface=MIXER,name='DACL Mixer AIF1DA0L Switch' 1
amixer cset iface=MIXER,name='Headphone Switch' 1
echo 4 > /sys/netease/cpld_control/cpld_init
adau1761 2 0
adau1761 0 8
adau1761 2 0
adau1761 0 8
}
start_voice() {