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

Skip to content
Commit 9cfdf3c0 authored by Henri Chataing's avatar Henri Chataing
Browse files

Asha: Resample output stream

- Create a resampler context for the hearing aid devices.
  The audio is resampled when received from the audio server,
  and before being channel-split and encoded for each device

- The clock recovery for the HA resampler is fed with
  L2CAP Flow Control Credit Ind events from _one_ of the
  audio connections to the HA devices.
  Should the connection be lost, the resampler is reconfigured
  to use events from the other connection.

Bug: 300285792
Bug: 312273987
Test: m com.android.btservices
Test: Manual | Stream with HA devices, monitor drift in resampler logs
Change-Id: I5302146e53b788f4df307a3887dbccb3b4bf3105
parent b7e204ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment