Loading
Update tee patches in the thread loop.
When secondary output is updated, the tee patches need to be updated. However, the mixer can access the tee patches without any lock. In that case, updating tee patches in the threadloop, which is before mixing, can help avoid race condition. Bug: 276314585 Test: manually Test: atest AudioPlaybackCaptureTest Change-Id: I36b5ae3777526942a31c7a3122a05477fce0b6df