commit | 5f3bf22357f9d7f7cf085a33152e91a868c45e4f | [log] [tgz] |
---|---|---|
author | Vaibhav Raut <quic_vraut@quicinc.com> | Mon Feb 06 17:45:22 2023 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Feb 12 22:21:24 2023 -0800 |
tree | f37d88a7b708706c59aada7229be5ff8c89b046b | |
parent | aaf5ace85178300721b6d7cf6a4b4144bb8c5242 [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