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

Skip to content
Commit e9990d5c authored by Mingming Yin's avatar Mingming Yin Committed by Steve Kondik
Browse files

libmedia: correct latency computing of AudioRecord

- Originally, audio record latency is calculated by frame
  buffers allocated for this track, while the actual
  latency is determined by audio hal.
- Compute the track latency by frame count returned
  from audio hal when in TRANSFER_CALLBACK mode

Change-Id: I26e5e47e8cc3720895b962f7aab8a595a54b7c83
parent 53c13f52
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