mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
1c28cb439b
commit
51ba8b3eee
4 changed files with 95 additions and 20 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue