mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -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
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
static int line = 0;
|
||||
|
||||
extern int hwver;
|
||||
|
||||
bool dbg_hw_info(void)
|
||||
{
|
||||
int btn = 0;
|
||||
|
|
@ -61,6 +63,10 @@ bool dbg_hw_info(void)
|
|||
lcd_putsf(0, line++, "Boot ver: %s", verstr);
|
||||
}
|
||||
|
||||
#ifdef EROS_Q
|
||||
lcd_putsf(0, line++, "hwver: %d", hwver);
|
||||
#endif
|
||||
|
||||
lcd_putsf(0, line++, "pcm srate: %d", pcm_alsa_get_rate());
|
||||
lcd_putsf(0, line++, "pcm xruns: %d", pcm_alsa_get_xruns());
|
||||
#ifdef HAVE_HEADPHONE_DETECTION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue