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

Skip to content
Commit 10937eb5 authored by Robert Wu's avatar Robert Wu Committed by Android Build Cherrypicker Worker
Browse files

AAudio: Scale capacity by device sample rate

We should scale capacity by the device sample rate instead of 48000.
Although 48000 works in most cases, some use cases don't use 48000 as
the default sample rate sample rate.

This involves adding this calculation in two separate places for the
exclusive and shared cases.

Bug: 382715299
Test: atest AAudioTests
Test: OboeTester Test Glitches
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:029aa6deeac584ee1790b7231e861406e8ca42e7)
Merged-In: Ie3b6bb69dd56abed029e39d377976baa7ddb49bc
Change-Id: Ie3b6bb69dd56abed029e39d377976baa7ddb49bc
parent 88e5f815
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