commit | 7aafa0bfe8e098317f2d301014e76dddd769511b | [log] [tgz] |
---|---|---|
author | Vaibhav Raut <quic_vraut@quicinc.com> | Mon Feb 06 17:45:22 2023 +0530 |
committer | Michael Bestas <mkbestas@lineageos.org> | Mon Apr 24 18:46:54 2023 +0300 |
tree | 1c4e6bcba1cef8c147dd646de7dea7e46b1625f8 | |
parent | 871e939f3dabf4b72535226bd774e769d4da6ad2 [diff] |
HAL: Restrict calls to ADM for low-latency and ultra low-latency usecase Stream must be registered for AUDIO_OUTPUT_FLAG_FAST and AUDIO_INPUT_FLAG_FAST. The others are not intended to take this path. If all streams are registered, they wait for focus which leads to underruns. Added extra condition for ultra low latency usecase (AUDIO_OUTPUT_FLAG_RAW and AUDIO_INPUT_FLAG_RAW) to avoid delay. Change-Id: Ib8886d83e33aa0e8aa7bae1bec6472b4381557bf