diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-06-04 19:17:47 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-06-04 19:17:47 +0000 |
commit | 6c22be4a3db4ad72acf67f99059872e92d1931b4 (patch) | |
tree | 110956169d637cdda501a2dfb3f9097d89d09ad8 /apps/codecs/libcook | |
parent | 304312dc2fe17d9cdec2cc03a5883eade62e661b (diff) | |
download | rockbox-6c22be4a3db4ad72acf67f99059872e92d1931b4.tar.gz rockbox-6c22be4a3db4ad72acf67f99059872e92d1931b4.zip |
Android: implement headphone detection thus enabling pause on unplug (FS#12097).
Listen to headphone plug events. There are currently two glitches with this:
- Android takes a while until it reports the unplug event, so there will be
some delay until playback gets paused. This is an Android limitation.
- Rockbox debounces headphone state changes for one second. Therefore playback
will shortly be routed to the speaker on unplug until Rockbox does the actual
pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29956 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook')
0 files changed, 0 insertions, 0 deletions