]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: add support for ControlEnum in ControlExists condition
authorJaroslav Kysela <perex@perex.cz>
Fri, 29 Nov 2019 08:33:50 +0000 (09:33 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 29 Nov 2019 08:34:09 +0000 (09:34 +0100)
commit15970ebf7f50d161f5e3b10a4ed8377d9be24e01
tree523fb3fed07a7685f6757a11524737782edd4cd9
parent6eb4f8a724a547e1d58f0abe6e890d137a93451a
ucm: add support for ControlEnum in ControlExists condition

Condition {
  Type ControlExists
  Control "name='Capture Input'"
  ControlEnum "Headphone Mic"
}

The result is true if the control exists, it is the enumerated
type and has the item with the ControlEnum text (name).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/ucm_cond.c