summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-07-31 12:27:26 -0700
committerGlenn Kasten <gkasten@google.com>2013-08-02 16:22:41 -0700
commit28f1351369682801e1bb40a835bdae3c97b73c1c (patch)
treeeb6e8fad009764ef115c894f017be5b110689b65 /include/media
parentf36dbfe3d517e9311be0a4d0fd6658380690e84c (diff)
downloadframeworks_av-28f1351369682801e1bb40a835bdae3c97b73c1c.zip
frameworks_av-28f1351369682801e1bb40a835bdae3c97b73c1c.tar.gz
frameworks_av-28f1351369682801e1bb40a835bdae3c97b73c1c.tar.bz2
AudioRecord callback thread waits for priority boost
Change-Id: Iae38fa4ac20a45751566169213a08a15deb0a2f6
Diffstat (limited to 'include/media')
-rw-r--r--include/media/AudioRecord.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index c65ffe8..596cf93 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -476,6 +476,7 @@ private:
int mPreviousPriority; // before start()
SchedPolicy mPreviousSchedulingGroup;
+ bool mAwaitBoost; // thread should wait for priority boost before running
// The proxy should only be referenced while a lock is held because the proxy isn't
// multi-thread safe.