summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/alsa-controls.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-10-10 13:25:47 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-11-01 14:12:31 -0400
commit51ba8b3eee2ccfede2c766494b38b1b3404b95e4 (patch)
tree9045030858488e25e1241f289a7d732ee2a509f5 /firmware/target/hosted/alsa-controls.h
parent1c28cb439b0f2838a8132bb951787207bd0fe0f6 (diff)
downloadrockbox-51ba8b3eee2ccfede2c766494b38b1b3404b95e4.tar.gz
rockbox-51ba8b3eee2ccfede2c766494b38b1b3404b95e4.zip
erosqhosted: Support HW volume control on rev2+ hardware
This also adds hwrev info to the debug output. Change-Id: Ia75218cacb8f756a23a77334ea6ab69ac3b20d10
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 af3e584cd9..b868ef52fb 100644
--- a/firmware/target/hosted/alsa-controls.h
+++ b/firmware/target/hosted/alsa-controls.h
@@ -36,6 +36,8 @@ void alsa_controls_close(void);
36 36
37/* check wether a control exists */ 37/* check wether a control exists */
38bool alsa_has_control(const char *name); 38bool alsa_has_control(const char *name);
39/* find a control element ID by name, return -1 of not found or index into array */
40int alsa_controls_find(const char *name);
39/* find a control element enum index by name, return -1 if not found */ 41/* find a control element enum index by name, return -1 if not found */
40int alsa_controls_find_enum(const char *name, const char *enum_name); 42int alsa_controls_find_enum(const char *name, const char *enum_name);
41/* set a control, potentially supports several values */ 43/* set a control, potentially supports several values */