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

Skip to content
Commit 57fc3232 authored by Ashish Jain's avatar Ashish Jain Committed by Gerrit - the friendly Code Review server
Browse files

libmediaplayerservice: Use default buffer size for Audiocache with Awesomplayer

-Current buffersize is equal to the heap buffer shared to copy
decoded pcm data.
-This causes the postEOSDelayUs to be equal to the clip duration,
for AudioCache output.
-This results in AudioCache Callbackthread to busy wait that long.
-Use default buffersize of 1024 frames, for AudioCache when used
with Awesomplayer, this ensures that postEOSDelayUs is max equal to
1024 frame duration.

Change-Id: I8c1debea2d63942b66219c364efb317c61bf0169
parent f228faaf
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