diff options
Diffstat (limited to 'firmware/target/hosted/alsa-controls.h')
-rw-r--r-- | firmware/target/hosted/alsa-controls.h | 2 |
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 */ |
36 | bool alsa_controls_find(snd_ctl_elem_id_t *id, const char *name); | 36 | bool alsa_controls_find(snd_ctl_elem_id_t *id, const char *name); |
37 | /* check wether a control exists */ | ||
38 | bool 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 */ |
38 | int alsa_controls_find_enum(const char *name, const char *enum_name); | 40 | int 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 */ |