2
|
1
|
|
2 # kphone_amixer.sh
|
|
3 # set mixer capture to left-channel=Mic, right-channel=Mix for
|
|
4 # acoustic echo cancellation
|
|
5 #
|
|
6 # 13jul2004 adrian: initial version
|
|
7 # 24aug2004 adrian: set PCM, Master volume
|
|
8
|
|
9 amixer -q sset 'PCM',0 70%
|
|
10 amixer -q sset 'Master',0 70%
|
|
11
|
|
12 amixer -q set 'PCM',0 unmute
|
|
13 amixer -q set 'Capture',0 0%-,100%-
|
|
14 amixer -q cset iface=MIXER,name='Capture Switch' 1
|
|
15
|
|
16 # for Mic Capture
|
|
17 #amixer -q cset iface=MIXER,name='Capture Source' 0,5
|
|
18
|
|
19 # for Line-In Capture
|
|
20 amixer -q cset iface=MIXER,name='Capture Source' 4,5
|