Re: How to identify Alsa eLements?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 03, 2020 at 09:34:20AM +0900, Takashi Sakamoto wrote:
> > My questions:
> > 1) 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:
> 
> 1. numid matching
> 2. 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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux