view intercom/linux/kphone_amixer.sh @ 6:22a74b01a099 default tip

implement more meaningful test program
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 16:14:50 +0200
parents 13be24d74cd2
children
line wrap: on
line source


# 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

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.