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

Skip to content
Commit 5f72c89a authored by Sumit Bhattacharya's avatar Sumit Bhattacharya Committed by Steve Kondik
Browse files

AudioFlinger: Fix re-use of fast-track

When a fast-track using shared buffer is restarted, we need to call
obtainbuffer if frameReady has already become zero, even if track is
still active. This is required to reset mFramesReadySafe. Otherwise
mFramesReadySafe remain at 0 and fastmixer can't consume data from
the track when it is re-used.

Change-Id: I5d6f364f8f31baad3341bd4f51bf8a8b147cd7d7
parent 3c51eb87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment