Re: [LAU] RME HDSP: X11-less mixer state restoring

From: Paul Davis <paul@email-addr-hidden>
Date: Mon Apr 04 2011 - 14:53:03 EEST

On Mon, Apr 4, 2011 at 7:34 AM, Andrew Gaydenko <a@email-addr-hidden> 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@email-addr-hidden> 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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Apr 4 16:15:03 2011

This archive was generated by hypermail 2.1.8 : Mon Apr 04 2011 - 16:15:03 EEST