Brett McCoy <idragosani(a)gmail.com> writes:
you need to open hdspmixer to intialize the device.
Nope. I never use hdspmixer.
#init 96kHz operation
amixer -c $1 cset numid=11,iface=PCM,name='Sample Clock Source' 6
#direct out playback 1&2 to headphones
amixer cset numid=5 28,26,10000
amixer cset numid=5 29,27,10000
#set volume for main out
amixer -c 0 cset numid=5 26,0,$1
amixer -c 0 cset numid=5 27,1,$1
#mute playback 26 and 27 to output 26 and 27 (headphone)
amixer -c $1 cset numid=5 26,26,0
amixer -c $1 cset numid=5 27,27,0
#direct out playback 1&2 to headphones
amixer -c $1 cset numid=5 28,26,10000
amixer -c $1 cset numid=5 29,27,10000
--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n n