erosqhosted: Support HW volume control on rev2+ hardware

This also adds hwrev info to the debug output.

Change-Id: Ia75218cacb8f756a23a77334ea6ab69ac3b20d10
This commit is contained in:
Solomon Peachy 2024-10-10 13:25:47 -04:00
parent 1c28cb439b
commit 51ba8b3eee
4 changed files with 95 additions and 20 deletions

View file

@ -36,6 +36,8 @@ void alsa_controls_close(void);
/* check wether a control exists */
bool alsa_has_control(const char *name);
/* find a control element ID by name, return -1 of not found or index into array */
int alsa_controls_find(const char *name);
/* find a control element enum index by name, return -1 if not found */
int alsa_controls_find_enum(const char *name, const char *enum_name);
/* set a control, potentially supports several values */