11 Nov
2019
11 Nov
'19
2:39 p.m.
Dne 07. 11. 19 v 2:57 Curtis Malainey napsal(a):
Identifies the type of jack and how it should be accessed
Signed-off-by: Curtis Malainey cujomalainey@chromium.org
include/use-case.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/use-case.h b/include/use-case.h index 2051bd40..3208cc30 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -322,6 +322,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
configuration that doesn't belong to UCM configuration files.
- JackName
- Input name is the input device name for the jack
- JackType
- Specifies whether the jack is accessed via hctl or gpio and therefore
*/ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier,
only carries the possible values of "gpio" or "hctl"
What is meant with the "gpio" type? The standard input device interface? I believe it should be "inputdev" and "ctl" (hctl is just interface on top of ctl and the application can access the jack through snd_ctl functions, too.
Jaroslav
--
Jaroslav Kysela perex@perex.cz
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.