+53
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Previously, Audio HAL implementers need all HW A/V sync profiles declared after non HW A/V sync profiles in their audio policy configurations, otherwise a HW A/V sync profile match could be found for a non HW A/V sync (e.g. direct only) request, the Audio HAL output stream would be opened with the HW A/V sync flag, and Audio HALs typically fail to process the stream as they are setup to parse in-band HW A/V sync headers (even if they don't receive keyStreamHwAvSync AudioParameter). Test: atest audiopolicy_tests AudioPolicyManagerTVTest#MatchOutputNoHwAvSync fails w/o IOProfile change, passes with the change. Bug: 140447125 Change-Id: Icfc806497b5b23013e63621a585c28d1d7a9882a