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

Skip to content
Commit 17a6de9c authored by Sharad Sangle's avatar Sharad Sangle Committed by Linux Build Service Account
Browse files

audio: calculate the max buffer size runtime

  Currently kMaxBufferSize is predefined as 30720,
  but this is valid only for camcorder use-case and
  not for other use-case, but as this is predefined
  calculations for other than camera use-case go
  wrong, such as frameCount and record latency, which
  leads to issues such as data drop at the begining
  due to high record latency.

  So instead predefining the MaxBufferSize calculate
  it only for camcorder use-case and use standard AOSP
  value otherwise

Change-Id: Ie7d43ddfdcb2b13a8a5eaa12cc8a233ac0d9470d
parent 72edeed6
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