SmartAudio/package/minigui/multimedia-test/res/SetAudioPass/r16_multimedia-test.sh

10 lines
383 B
Bash
Executable File

#!/bin/sh
#set r16 audio throughway begin
#dafult headphone out,default headphone volume is 30
echo "set r16 audio pass through"
amixer cset iface=MIXER,name='headphone volume' 30
amixer cset iface=MIXER,name='DACL Mixer AIF1DA0L Switch' 1
amixer cset iface=MIXER,name='DACR Mixer AIF1DA0R Switch' 1
amixer cset iface=MIXER,name='Headphone Switch' 1
#set r16 audio throughway finish