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

Skip to content
Commit fdded0f5 authored by Divya Narayanan Poojary's avatar Divya Narayanan Poojary
Browse files

audio: Reduce minimum offload fragment size for direct pcm

Minimum offload fragment size is huge and this results in
larger buffer being passed from AudioFlinger to HAL. As
shared block in AudioFlinger is also of the same size,
track is going into under run state multiple times at the
beginning of the playback. This is causing A/V Sync issues
during video playback.

Fix is to reduce it to 512 to be inline with other targets
Fixed alignment code as well

Change-Id: Ifc667a5f0ccf8f36c44d04c270740ed67f2a32b7
parent 2e637ce0
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