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

Skip to content
Commit 8a447ed8 authored by Phil Burk's avatar Phil Burk
Browse files

AAudio: fix prepareBuffersForStop()

Use mAudioEndpoint->getDataWriteCounter() instead
of getFramesWritten() because the ClockModel uses
the server frame positions.

Bug: 319071878
Test: Run OboeTester and play an MMAP stream.
Test: Start and stop the stream several times and listen for
Test: excessive noise when the stream is stopped.
Test: The crash was only happening on an OEM device
Test: when this bug combined with timestamp errors on the device.
Test: See bug for more details.
Flag: EXEMPT bugfix
Change-Id: I80fd9aa428c96a90100bab3205b2b51f5475c904
parent 4ecdd87b
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