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

13 lines
495 B
Bash
Executable File

#!/bin/sh
#set G102 audio throughway begin
#dafult headphone out,default headphone volume is 40
echo "set G102 audio pass through"
amixer cset iface=MIXER,name='headphone volume' 40
amixer cset iface=MIXER,name='HP_L Mux' 1
amixer cset iface=MIXER,name='HP_R 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