Mercurial > hg > audiostuff
diff intercom/linux/kphone_amixer.sh @ 2:13be24d74cd2
import intercom-0.4.1
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 09:57:52 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/intercom/linux/kphone_amixer.sh Fri Jun 25 09:57:52 2010 +0200 @@ -0,0 +1,20 @@ + +# 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