From 702ee4d770310b2c865fc21ff1ee5f33e7bcb4c8 Mon Sep 17 00:00:00 2001 From: wangzijiao Date: Thu, 27 Dec 2018 20:54:50 +0800 Subject: [PATCH] modify sound card enable script --- app/InitScript/r311-pv1c/neteaseplayer.init | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/InitScript/r311-pv1c/neteaseplayer.init b/app/InitScript/r311-pv1c/neteaseplayer.init index 7b9cddf..edea3ab 100644 --- a/app/InitScript/r311-pv1c/neteaseplayer.init +++ b/app/InitScript/r311-pv1c/neteaseplayer.init @@ -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() {