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

Skip to content
Commit b556f5df authored by Alexy Joseph's avatar Alexy Joseph Committed by Gerrit - the friendly Code Review server
Browse files

libstagefright: Aggregate buffers in audio source

 -AudioSource currently receives callback whenever
  Audiorecord callback has data. The callbacks are
  with very small buffer sizes. These small buffer
  sizes lead to increase in number of messages that
  have to be passed between components. This leads
  to increase in power especially in camcorder
  use cases.
- To solve this, camcorder use cases configure
  AudioRecord in TRANSFER_SYNC mode so that
  buffers are aggregated inside AudioRecord.
  Soundrecorder, VOIP use cases are left untouched
  and continue to use TRANSFER_CALLBACK
Change-Id: Ie79028357656623e241c11bd017c69753f25d964
parent 908070d0
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