Discussion:
Is there any way to figure wich mute control is the main one.
o***@lilltiger.se
2010-12-13 16:44:15 UTC
Permalink
I simply wonder ifthere is a way tofigure out wich of the "MIXT_MUTE"
controls that shares the same parent is the main mute control for that
parent.

ex. the "jack.green" has three mute controls "jack.green.mute",
"jack.green.front-mute" and "jack.green.analog-mix-mute".
From these three the "front.green.mute" is the main one, but how do I
deduce this in code, can I assume that the main mute control is always
named "mute" and nothing more. Or that the main mute one is always
presented with the lowest ctrl number?
Hannu Savolainen
2010-12-16 18:09:08 UTC
Permalink
Hi,

I dont't think there is any logic in the mute controls of HDaudio
codecs. They are in random order.

Hannu
---
Post by o***@lilltiger.se
I simply wonder ifthere is a way tofigure out wich of the "MIXT_MUTE"
controls that shares the same parent is the main mute control for that
parent.
ex. the "jack.green" has three mute controls "jack.green.mute",
"jack.green.front-mute" and "jack.green.analog-mix-mute".
From these three the "front.green.mute" is the main one, but how do I
deduce this in code, can I assume that the main mute control is always
named "mute" and nothing more. Or that the main mute one is always
presented with the lowest ctrl number?
_______________________________________________
oss-devel mailing list
http://mailman.opensound.com/mailman/listinfo/oss-devel
Loading...