On Sat, Apr 11, 2009 at 8:16 PM, Andrew Gaydenko <a(a)gaydenko.com> 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(a)lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user