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

Commit fb39dae4 authored by jiabin's avatar jiabin
Browse files

Support AAudioStream_flushFromFrame.

AAudioStream_flushFromFrame is an API to allow apps flush written data
from the given position. This is helpful when apps are doing offload
playback and want to rewrite the data that has been written but not yet
rendered.

Bug: 409798445
Test: atest AAudioTests
Test: test_flush_from_frame -f2 -c2 -r48000
Flag: com.android.media.audioserver.mmap_pcm_offload_support
Change-Id: I23183da9ee1d4c626e582b90e40a7645547e0cc0
parent 9b7f01b4
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