Re: [LAU] accessing hdsp mixer with amixer

From: Paul Davis <paul@email-addr-hidden>
Date: Sun Apr 12 2009 - 19:47:34 EEST

On Sat, Apr 11, 2009 at 8:16 PM, Andrew Gaydenko <a@email-addr-hidden> wrote:
>
> Yes, I see amixer must be used. The proble is, hdsp driver maps card's mixer
> controls to alsa mixer controls in not-obvious way.There was somewhere some
> information about accessing hdsp mixer controls (how to relate channels and
> appropriate controls, write (and read?) values and such), but I can not found
> it now (probably it was at old alsa site).
>
> The card has
>
> numid=5,iface=HWDEP,name='Mixer'
>
> control, and, probably, something like
>
> amixer cset numid=5 x,y,z
>
> must be used. What are those x, y, z? :-)
>
> OTOH, it seems like I can not get current hdsp mixer settings: 'amixer cget
> numid=5' just returns a tuple with three zero rather full 3dim matrix. Can I?
>
> Has anybody elaborated information about all these issues?

don't quote me on this but i have a recollection that access to the
matrix mixer via the ALSA standard mixer API was removed. notice that
the IFACE above is "hwdep", and i don't think that amixer can be used
to control this.

i may be utterly, totally wrong on this. and the sad thing is that i
should know :(

--p

>
> Andrew
>
>
> -------------------------------------------------------
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Apr 12 20:15:02 2009

This archive was generated by hypermail 2.1.8 : Sun Apr 12 2009 - 20:15:03 EEST