commit | 0ede8924b98c2967be2795e8d4f9837d8d3f094c | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri May 09 18:04:42 2014 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon May 12 10:46:31 2014 -0700 |
tree | ae5603fc402e1c5db80932e805cba811145ebc77 | |
parent | 0fdbdd2a3909e4692fa3baaaa1f53eb91b31af56 [diff] |
audiopolicy: refactor audio command threads - Use strong pointers for command data to avoid transfering ownership of the object to receiver thread. This avoids waiting for the command acknowlegement to proceed with next command on server side. - Use a separate mutex for each command condition. - Factor in duplicated code to send commands. Change-Id: Ib0526e7c4fa64a71ad4015f477c6361727c6f40a