Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5f3bf223 authored by Vaibhav Raut's avatar Vaibhav Raut Committed by Gerrit - the friendly Code Review server
Browse files

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
parent aaf5ace8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment