commit | b6ba2fd0d61a4844c153e17843fbe2c841c4bf57 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Sep 24 15:02:17 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 25 09:40:00 2012 -0700 |
tree | 4cd873f829cccccd2a1c032f17ea54aabb0f3234 | |
parent | 2a865ad8d45940bc824c02a8a8558cbcb97acc88 [diff] |
audioflinger: improve record start and thread exit Use broadcast() instead of signal() on the thread wake up condition when starting record or requesting thread exit to make sure that if another thread is waiting for the same condition (e.g binder thread calling setParameters()) the mixer thread will be woken up. Bug 7184317. Change-Id: I3154a4509ca7af6ffae5236e522b0fab8e75ed06