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

Skip to content
Commit 5362a14b authored by Dorin Drimus's avatar Dorin Drimus
Browse files

Allow non pcm formats for setBufferSizeInFrames

For compressed formats the buffer size is actual bytes (or a frame is
considered equal to 1 byte).

Test: atest AudioTrackLatencyTest#testSetBufferSize
Test: manual test to set buffer size for an EAC3 AudioTrack
Bug: 192343963
Change-Id: Id9ba3da8e431208f38639004a47a4a27235e9d71
parent 45670b1c
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