3 Jul
2020
3 Jul
'20
2:48 a.m.
On Fri, Jul 03, 2020 at 09:34:20AM +0900, Takashi Sakamoto wrote:
My questions:
- Are name and index enough to identify an element?
In ALSA control core, 'snd_ctl_find_id()' helper function[1] is used to find control element set by the given information from userspace application. You can see the algorithm supports two cases:
- numid matching
- the combination matching with:
- iface
- device
- subdevice
- name
- index is within the range of set
I sent PR[1] to update the documentation in alsa-lib.
[1] https://github.com/alsa-project/alsa-lib/pull/66
Regards
Takashi Sakamoto