summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioMixer.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-01-29 15:17:32 -0800
committerEric Laurent <elaurent@google.com>2014-01-29 15:25:32 -0800
commit000a4193dd82549192277fd4b9bb571d8a4c262f (patch)
tree62bb97def825703a634d8a4260431ce5afd68b53 /services/audioflinger/AudioMixer.cpp
parent0eed5ac1a14067d0fd51282e97b43b4fd9121842 (diff)
downloadframeworks_av-000a4193dd82549192277fd4b9bb571d8a4c262f.zip
frameworks_av-000a4193dd82549192277fd4b9bb571d8a4c262f.tar.gz
frameworks_av-000a4193dd82549192277fd4b9bb571d8a4c262f.tar.bz2
audioflinger: fix record thread exit pending check
RecordThread loop must not release the mutex after checking for exitPending and before waiting for a new wake up condition. This can happen under the hood when methods like processConfigEvents_l() or checkForNewParameters_l() are called. So exitPending() must be checked after calling these functions. Bug: 12787961. Change-Id: Ia18c518bd5344fbb2401067303fcfe76a86879c4
Diffstat (limited to 'services/audioflinger/AudioMixer.cpp')
0 files changed, 0 insertions, 0 deletions