modify sound card enable script
This commit is contained in:
parent
d7b4254835
commit
702ee4d770
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue