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

Commit 24420797 authored by Amal Paul's avatar Amal Paul Committed by Steve Kondik
Browse files

libstagefright: Fix for data loss in qcp recording

- For evrc and qcelp recording, nearly 1 sec of data which is
  recorded is not writtern to the recorded clip.
- The writer thread which writes the encoded data to .qcp file,
  is not getting enough CPU time. This results in ~500ms of data
  loss in the recorded clip.
- Fix is to increase the priority of the writer thread to
  ANDROID_PRIORITY_AUDIO

Change-Id: I19125593ade2697251df976c81cb4df8dcf7b80b
CRs-fixed: 386398
parent c504b70c
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