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

Skip to content
Commit d2537a0c authored by Zhou Song's avatar Zhou Song
Browse files

hal: optimize device switch latency with bt headset connected

When BT headset is connected and an output is created, the
BT encoder latency will be be taken into account for overall
output latency. This will append more latency during device
switch, as the output latency represents the buffers to be
drained before switching to a new device.
Exclude the encoder latency when creating the output instance,
then the output latency can reflect to actual buffer size in
driver and dsp.

Change-Id: I94109f58f9e7fe69bec4a46d1f7f12558f1cb91a
parent 2ef08a30
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