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

Skip to content
Commit ea6893ab authored by Vidyakumar Athota's avatar Vidyakumar Athota Committed by Linux Build Service Account
Browse files

audio policy: Fix MT call delay

- When MT call is accepted, it is observed that it takes 3sec to
  start the voice call. Until then there is no audio heard on
  the far end.
- AudioPolicyService processes setParameters calls in the order
  in which it receives them and when two setParameter calls with
  different keyValuePairs come in (in this case, FM volume with a
  delay and routing), the timestamp of the command received last
  (routing) is updated to be processed at the timestamp of the command
  received earlier (FM volume). FM volume is set with a delay which
  causes the delay in routing as well.
- When two setParameter calls with different keyValuePairs reach
  AudioPolicyService from HAL, the timestamp of the command received
  later is updated to that of the command received first.
  This is unintended and might cause a delay or advance the processing
  of commands.
- The timestamp of the command should be updated only if the
  keyValuePairs in the setParameters call match.

Change-Id: I790479eaad9d2d6fd4204cc4cb7698761c30f7cf
parent c42810fc
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