SmartAudio/package/allwinner/tina_multimedia_demo/tplayerdemo/r40_tplayerdemo.sh

13 lines
491 B
Bash
Executable File

#!/bin/sh
#set r40 audio throughway begin
#dafult headphone out,default headphone volume is 40
echo "set r40 audio pass through"
amixer cset iface=MIXER,name='Headphone volume' 40
amixer cset iface=MIXER,name='HPL Mux' 1
amixer cset iface=MIXER,name='HPR Mux' 1
amixer cset iface=MIXER,name='Right Output Mixer DACR Switch' 1
amixer cset iface=MIXER,name='Left Output Mixer DACL Switch' 1
amixer cset iface=MIXER,name='Headphone Switch' 1
#set r40 audio throughway finish
realtplayerdemo $1