commit | a77869d964afe3915ae6dfcb1b832a7ccb1fe308 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Thu May 07 10:39:47 2020 -0700 |
committer | Phil Burk <philburk@google.com> | Thu May 07 14:33:39 2020 -0700 |
tree | 37a516c20dbd10c7575cbe1ce90cb352dd6b49a5 | |
parent | 686dac0cdb04834b889b1264f7a41c5d6ce25d2a [diff] |
aaudio: process callbacks asynchronously Spawn a thread to handle the disconnects for onRoutingChanged() and onTearDown(). This is to prevent deadlocks when calling back into AudioFlinger. Bug: 155819038 Test: See bug for repro steps with OboeTester Test: Also run TEST DISCONNECT in OboeTester. It was failing. Test: atest CtsNativeMediaAAudioTestCases Change-Id: I83212fea140d3b6beca9aa737606a77a7c97b007