On Sat, Jul 16, 2011 at 10:02 PM, Reuben Martin <reuben.m(a)gmail.com> wrote:
On Friday, July 15, 2011 10:05:24 AM Adrian Knoth
wrote:
On Fri, Jul 15, 2011 at 08:29:23AM +0200,
Christoph Kuhr wrote:
And if someone has some hints to do that...
Rewrite hdspmixer, first. It's a horrible mess at the moment, but I'm
sure you'll see in a second. ;) We could use some clean abstraction of
cards, a matrix mixer and especially a rewrite from scratch in GTK/Qt.
This is something I've never understood: Why is there no generic interface in the
ALSA API for a matrix mixer? For every pro-audio card that comes out the wheel has to be
completely re-
invented just to control the thing. Are the devices with matrix mixers that different
that it prevents them from being wrapped by a common API that any ALSA compliant mixer
can
hook into?
what i recall (from years and years and years ago) was that the ALSA
control API can handle 3-argument calls (input,output,gain - for
example), which is why amixer and aset can be used to control the hdsp
matrix mixer, but there is no general representation that could be
feasibly used by generic tools. put differently, there is no "concept"
of a matrix mixer anywhere in the ALSA API.