]> git.alsa-project.org Git - alsa-lib.git/commitdiff
ctl: improve documentation for identifier of control element
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 3 Jul 2020 00:37:51 +0000 (09:37 +0900)
committerJaroslav Kysela <perex@perex.cz>
Mon, 6 Jul 2020 14:41:48 +0000 (16:41 +0200)
In documentation, there're two ways relevant to the identifier of control
element. However, the case of combination has the lack of parameters.

This commit improves documentation in this point.

Fixes: f3c24de8c0df ("ctl: add an overview for design of ALSA control interface")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/control/control.c

index 19528ae30a0bec32eabe07adda8c7f342b89c12b..e21e8f1d2621b508c77f02239d3f9e0e2c0d4b25 100644 (file)
@@ -49,8 +49,8 @@ are managed according to below model.
    - An element includes some members to have a value. The value of each member
      can be changed by both of userspace applications and drivers in kernel.
 
-Each element can be identified by two ways; a combination of name and index, or
-numerical number (numid).
+Each element can be identified by two ways; the numerical number (numid), or the
+combination of interface, device, subdevice, name, and index.
 
 The type of element set is one of integer, integerr64, boolean, enumerators,
 bytes and IEC958 structure. This indicates the type of value for each member in