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

Skip to content
Commit 37e52900 authored by Zhou Song's avatar Zhou Song Committed by Gerrit - the friendly Code Review server
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

CRs-fixed: 1062825
Change-Id: I26e5e47e8cc3720895b962f7aab8a595a54b7c83
parent 0aeb9483
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