commit | 0c8f7cc6ecce7e64a96fa489399e6d4ae2593afb | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jun 24 14:32:36 2022 +0200 |
committer | Eric Laurent <elaurent@google.com> | Mon Jun 27 10:29:42 2022 +0200 |
tree | a050ce89d6764e8d40b6dc02fc181014b832709d | |
parent | 1ccce7e1c29c2f01343879074091aec8229f7826 [diff] |
audio policy: fix canBeSpatialized() Allow to create a Spatializer controller even if the spatializer output profile can only be routed to devices not connected at boot time. Done by fixing AudioPolicyManager::getSpatializerOutputProfile() to only consider available devices if a specific device list is passed as argument. Bug: 234049185 Test: spatial audio playback on Bluetooth Change-Id: I34a8b1e2a2344f9f5ac5b637d9d344a29537fe33