
# kphone_amixer.sh
# set mixer capture to left-channel=Mic, right-channel=Mix for
# acoustic echo cancellation
# 
# 13jul2004 adrian: initial version
# 24aug2004 adrian: set PCM, Master volume

amixer -q sset 'PCM',0 70%
amixer -q sset 'Master',0 70%

amixer -q set 'PCM',0 unmute
amixer -q set 'Capture',0 0%-,100%-
amixer -q cset iface=MIXER,name='Capture Switch' 1

# for Mic Capture
#amixer -q cset iface=MIXER,name='Capture Source' 0,5

# for Line-In Capture
amixer -q cset iface=MIXER,name='Capture Source' 4,5
