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

Skip to content
Commit 8735d0dd authored by Zhou Song's avatar Zhou Song Committed by Andy Hung
Browse files

audio: return accurate frame count when track is flushed

To avoid track frames to be processed early before full filled,
when track is flushed, framesReady should return accurate
available frames to avoid putting track into ready state
too early, otherwise silence can be inserted as buffer is
insufficient which leads to audio glitch.

Bug: 166610318
Test: see bug, ringtone playback no regression.
Merged-In: I3b04999a29d85a91b54734514cfa93bc93f55c33
Change-Id: I3b04999a29d85a91b54734514cfa93bc93f55c33
parent 85f5f276
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