summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/alsa-controls.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/alsa-controls.h')
-rw-r--r--firmware/target/hosted/alsa-controls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/alsa-controls.h b/firmware/target/hosted/alsa-controls.h
index ea2475a98e..f5c8439721 100644
--- a/firmware/target/hosted/alsa-controls.h
+++ b/firmware/target/hosted/alsa-controls.h
@@ -34,6 +34,8 @@ void alsa_controls_close(void);
34/* find a control element ID by name, return false of not found, the id needs 34/* find a control element ID by name, return false of not found, the id needs
35 * to be allocated */ 35 * to be allocated */
36bool alsa_controls_find(snd_ctl_elem_id_t *id, const char *name); 36bool alsa_controls_find(snd_ctl_elem_id_t *id, const char *name);
37/* check wether a control exists */
38bool alsa_has_control(const char *name);
37/* find a control element enum index by name, return -1 if not found */ 39/* find a control element enum index by name, return -1 if not found */
38int alsa_controls_find_enum(const char *name, const char *enum_name); 40int alsa_controls_find_enum(const char *name, const char *enum_name);
39/* set a control, potentially supports several values */ 41/* set a control, potentially supports several values */