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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/target/hosted/alsa-controls.h b/firmware/target/hosted/alsa-controls.h
index 0505ee3dd1..af3e584cd9 100644
--- a/firmware/target/hosted/alsa-controls.h
+++ b/firmware/target/hosted/alsa-controls.h
@@ -27,16 +27,13 @@
27#include <alloca.h> 27#include <alloca.h>
28 28
29/* open alsa control interface and list all controls, keep control open */ 29/* open alsa control interface and list all controls, keep control open */
30void alsa_controls_init(void); 30void alsa_controls_init(const char *name);
31/* close alsa controls */ 31/* close alsa controls */
32void alsa_controls_close(void); 32void alsa_controls_close(void);
33 33
34/* NOTE: all the following functions panic on error. This behaviour could be changed with the 34/* NOTE: all the following functions panic on error. This behaviour could be changed with the
35 * functions returning proper values but that would make errors happen silently */ 35 * functions returning proper values but that would make errors happen silently */
36 36
37/* find a control element ID by name, return false of not found, the id needs
38 * to be allocated */
39bool alsa_controls_find(snd_ctl_elem_id_t *id, const char *name);
40/* check wether a control exists */ 37/* check wether a control exists */
41bool alsa_has_control(const char *name); 38bool alsa_has_control(const char *name);
42/* 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 */