commit | 703180998f088cc83ff8e58f5881c65963d557a8 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jun 19 17:49:17 2015 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Jun 19 17:50:00 2015 -0700 |
tree | 4b214a344dd765dbf3960cb2c29d528920a05042 | |
parent | 8e350b1a1d148ebf85e2c246e9f491fcdee51bdf [diff] |
audio HAL: reverse mutex locking order Do not use main audio HAL mutex but a specific stream mutex when preventing control thread starvation by playback or capture threads. This will prevent systematic locking of main HAL mutex in read ot write and avoid glitches. Bug: 21880828. Bug: 18489202. Change-Id: I3054e0d93b823bd9d2fb84a49e9c5bbbe728262a