On Mon, Apr 4, 2011 at 7:34 AM, Andrew Gaydenko <a(a)gaydenko.com> wrote:
On Monday 04 April 2011 15:23:05 Paul Davis wrote:
On Sun, Apr 3, 2011 at 11:04 PM, Fernando
Lopez-Lezcano
<nando(a)ccrma.stanford.edu> wrote:
On 04/03/2011 04:15 PM, Paul Davis wrote:
alsactl *should* save/restore everything. perhaps
i've forgotten and
it doesn't handle the triples used by the matrix mixer.
It does not.
AFAIK you can't read the current state from the card but maybe I'm wrong.
you mean with alsactl, right? because amixer can definitely do this
(that's why i use it in that script i posted).
I have found the script does seting only ('amixer cset ...') rather getting
(reading) current mixer values.
% amixer -c 1 cget numid=5
numid=5,iface=HWDEP,name='Mixer'
; type=INTEGER,access=rw------,values=3,min=0,max=65536,step=1
: values=0,0,0