mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
IAP: Reset IAP state upon headphone or dock unplug
Provides a semi-automatic way of recovering from desynchronization Change-Id: I527b0bacc22ef38c1e7213653e522ea1b0ac155d
This commit is contained in:
parent
80eca90481
commit
472a6a69c6
5 changed files with 93 additions and 15 deletions
|
|
@ -37,5 +37,6 @@ const unsigned char *iap_get_serbuf(void);
|
|||
#ifdef HAVE_LINE_REC
|
||||
extern bool iap_record(bool onoff);
|
||||
#endif
|
||||
|
||||
void iap_reset_state(int port); /* 0 is dock, 1 is headphone */
|
||||
bool dbg_iap(void);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue