commit | ac3a690c79467612a12e2c3a216c8ea2c4efbd64 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri May 11 16:39:10 2018 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon May 14 18:35:05 2018 -0700 |
tree | b192daca5cbceadc29316e9b22413bcb3914a856 | |
parent | 2c82a511797920451aa20ad5e089fc71aaff78af [diff] |
audio policy: reduce mute time when invalidating tracks Replace fixed 2 seconds mute time in checkOutputForStrategy() by a variable time based on actual maximum output latency. Also fix problem where src outputs where queried from mOutputs list instead of from mPreviousOutputs. Bug: 70632415 Test: manual connections/disconnection of BT A2DP and USB headset Change-Id: I3a9ea915a134d95a2dc5abea2fbfe6152f147e80