commit | 8c0417c173d1fd618ae54e2d721b0ec360ea70cc | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Thu Oct 09 20:06:00 2014 +0800 |
committer | Chris Elliott <chriselliott@google.com> | Tue Oct 14 17:20:37 2014 +0000 |
tree | c079d953bc10a492f8145a3984a929bb9b936254 | |
parent | e6b5d4c2d58a02184dd97815b5f76980025379bc [diff] |
audio: prevent larger than required sleeps - DO NOT MERGE b/17962037 From: Haynes Mathew George <hgeorge@codeaurora.org> Date: Wed, 26 Mar 2014 16:18:42 -0700 Subject: [PATCH] AudioTrack: prevent larger than required sleeps AudioTrackThread can end up waiting for larger than necessary time for free space to be available in the cblk. Fix this by waiting on the cblk futex instead of the (internal) condition variable. Change-Id: I75bd14cd46f3b75afe0ea8bd9b48d7a2f95f654a