diff options
author | Weiyin Jiang <wjiang@codeaurora.org> | 2015-01-28 16:14:02 +0800 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-02-06 16:32:24 -0800 |
commit | 35d5af131c9d4962e935082f204ccd6a2130861c (patch) | |
tree | 3a0456f7e9ddba7cddb0769f2a15d1589f820647 /media/libmedia/AudioTrack.cpp | |
parent | 17e95f40a534101e2df48f077a8029430adef6c3 (diff) | |
download | frameworks_av-35d5af131c9d4962e935082f204ccd6a2130861c.zip frameworks_av-35d5af131c9d4962e935082f204ccd6a2130861c.tar.gz frameworks_av-35d5af131c9d4962e935082f204ccd6a2130861c.tar.bz2 |
nuplayer: acquire wakelock during offload pause timeout
Hold a wakelock while paused in audio offload mode, until audio
teardown event is received, or pause is canceled.
Since ARM cores are sleeping, the delayed AMessage will not be
received, and the audio output driver will not be closed.
This blocks XO shutdown.
Bug: 19297092
Change-Id: I3d11fef633e3f2783f4aa31e71285e2fa09d234c
Diffstat (limited to 'media/libmedia/AudioTrack.cpp')
0 files changed, 0 insertions, 0 deletions