New issue
Advanced search Search tips

Issue 699616 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

libcras blocking API for reducing ARC++ audio latency

Project Member Reported by chinyue@chromium.org, Mar 8 2017

Issue description

Currently ARC++ audio latency meets the low latency CDD (<50 ms). However we want to further lower it down. There are many things that can be done to reduce the latency like using a smaller buffer. But eliminating the buffer would make the most difference.

There's a layer of buffering in ARC++ audio HAL. The AudioFlinger in Android calls audio HAL's blocking write() while CRAS uses callback to notify a write is available.

The plan is to add a blocking API to libcras and switch audio HAL to use this new blocking API. Then it could act as a thin wrapper without the buffering. The callback API will be kept as is, the addition of the blocking API should not affect existing CRAS clients.

 
Components: OS>Kernel>Audio
Labels: OS-Chrome
Owner: cychiang@chromium.org
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment