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

12 lines
468 B
Bash
Executable File

#!/bin/sh
#set MR100 audio throughway begin
echo "set R11 audio throughway"
amixer -D hw:audiocodec cset name='SPK_L Mux' 0
amixer -D hw:audiocodec cset name='SPK_R Mux' 0
amixer -D hw:audiocodec cset name='Lineout volume' 25
amixer -D hw:audiocodec cset name='Right Output Mixer DACR Switch' 1
amixer -D hw:audiocodec cset name='Left Output Mixer DACL Switch' 1
amixer -D hw:audiocodec cset name='digital volume' 6
#set R11 audio throughway finish
realtplayerdemo $1