diff options
author | Satya Krishna Pindiproli <satyak@codeaurora.org> | 2015-08-20 18:24:16 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:25:01 -0600 |
commit | 14154955cac023afd736dc658d06a27f31f68e1c (patch) | |
tree | 144eddf230113b7563174f74db9d46586b4509e3 /services/audiopolicy/managerdefault | |
parent | 2b0dafd500c5f2c69acbcda80a958e7b8e9d2f57 (diff) | |
download | frameworks_av-14154955cac023afd736dc658d06a27f31f68e1c.zip frameworks_av-14154955cac023afd736dc658d06a27f31f68e1c.tar.gz frameworks_av-14154955cac023afd736dc658d06a27f31f68e1c.tar.bz2 |
audiopolicy: port existing fixes to AudioPolicyManager
This is a squashed commit of the following fixes in
AudioPolicyManager. Only some parts of the fixes have been
ported as the custom audio policy has the other required
changes.
audiopolicy: Fix MT call delay
Change-Id: I790479eaad9d2d6fd4204cc4cb7698761c30f7cf
audiopolicy: support extended feature in audiopolicymanager
Change-Id: I1925339b591cd29f11a71c287a2e53c0627e9e62
audiopolicy: additional change for extended feature
Change-Id: I9bad6a294ddd7aee72f6f6a314666b892b730c8e
Change-Id: I7738d4b0ac11ee6d93bfd67e2553eae8518ff719
Diffstat (limited to 'services/audiopolicy/managerdefault')
-rw-r--r-- | services/audiopolicy/managerdefault/AudioPolicyManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp index 55c7225..4d9dbfe 100644 --- a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp +++ b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp @@ -3752,7 +3752,7 @@ void AudioPolicyManager::checkOutputForStrategy(routing_strategy strategy) { audio_devices_t oldDevice = getDeviceForStrategy(strategy, true /*fromCache*/); audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/); - SortedVector<audio_io_handle_t> srcOutputs = getOutputsForDevice(oldDevice, mPreviousOutputs); + SortedVector<audio_io_handle_t> srcOutputs = getOutputsForDevice(oldDevice, mOutputs); SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs); // also take into account external policy-related changes: add all outputs which are |