* How to get mixer control index from UCM
[not found] <1657170223748095036-webhooks-bot@alsa-project.org>
@ 2022-07-07 5:03 ` GitHub issues - opened
0 siblings, 0 replies; 2+ messages in thread
From: GitHub issues - opened @ 2022-07-07 5:03 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib issue #248 was opened from Zames-Chang:
I use Corsair VOID ELITE USB Gaming Headset. However this headset have two same name control
```
$ amixer -c 1 scontrols
Simple mixer control 'Auto Gain Control',0
Simple mixer control 'Headset',0
Simple mixer control 'Headset',1
```
use command to change 'Headset',0 is actually not working. But change 'Headset',1 will work. I want write a UCM to indicate that when seeing this headset, choose the name 'Headset' with index 1 not index 0.
Does UCM and alsa api able to do so?
Issue URL : https://github.com/alsa-project/alsa-lib/issues/248
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to get mixer control index from UCM
[not found] <1657170518268321037-webhooks-bot@alsa-project.org>
@ 2022-07-07 5:08 ` GitHub issues - edited
0 siblings, 0 replies; 2+ messages in thread
From: GitHub issues - edited @ 2022-07-07 5:08 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib issue #248 was edited from Zames-Chang:
I use Corsair VOID ELITE USB Gaming Headset. However this headset have two same name control
```
$ amixer -c 1 scontrols
Simple mixer control 'Auto Gain Control',0
Simple mixer control 'Headset',0
Simple mixer control 'Headset',1
```
use command to change 'Headset',0 is actually not working. But change 'Headset',1 will work. I want write a UCM to indicate that when seeing this headset, choose the name 'Headset' with index 1 not index 0.
I have seen [use-case.h](https://github.com/alsa-project/alsa-lib/blob/master/include/use-case.h) recommended names for values, but I don't find a proper name to describe control index.
Is there any suggestion about how to write control index in UCM file?
Issue URL : https://github.com/alsa-project/alsa-lib/issues/248
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-07 5:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1657170223748095036-webhooks-bot@alsa-project.org>
2022-07-07 5:03 ` How to get mixer control index from UCM GitHub issues - opened
[not found] <1657170518268321037-webhooks-bot@alsa-project.org>
2022-07-07 5:08 ` GitHub issues - edited
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.