Whoops! It seems that your patch works, save that
my input level vu meters no longer work. Also, for
completeness, we need a switch to suppress display
of SPDIF sliders.
Thanks.
Ross Vandegrift wrote:
Hello,
I wrote a patch this morning that lets the user define limits on
the number of controls envy24control should display to the user. This
is useful on cards like the Delta44, which only has 4x4 channels - it
provides a cleaner interface in that case. The patch is included below,
and is downloadable from:
http://poplar.seitz.com/~ross/envy24control/envy24control-control-limit.diff
The changes introduce two new command line options:
-i, --inputs: Use this to define how many HW In channels you'd like
-o, --outputs: Use this to define how many PCM Out channels you'd like
So for my Delta44, I now use 'envy24control -i 4 -o 4' to only see the
channels I physically have.
That's about all there is to it. It seems to correctly handle limiting
to fewer channels than physically present as well. Hopefully this can
help out some others as well.
I'm not subscribed to alsa-devel, so please CC me on any replies from
that list. Thanks!