diff options
| author | 2021-10-29 22:34:26 +0000 | |
|---|---|---|
| committer | 2021-11-02 20:48:33 +0000 | |
| commit | e1f9659e5de244f9e0d9607f184732f15dcfdc97 (patch) | |
| tree | 26a902189f4d2b8d63ca80e5b6a7e970e6008358 /libs/androidfw/StringPool.cpp | |
| parent | 25cd194f419e477c526dd064f6b4b1b22661a5a3 (diff) | |
Enhance channel masks conversion between AIDL and SDK
Provide conversion for layouts not listed in
AudioChannelLayout::LAYOUT_* constants. In this case
the conversion is performed on bit-by-bit correspondence
between AudioChannelLayout::CHANNEL_* constants and
SDK channel bits from AudioFormat.
Added missing input channel bits to AudioFormat to match
native. Currently hidden, since we would need to update
docs if we reveal these bits and masks to apps.
Bug: 198812639
Bug: 204362366
Test: atest AidlConversionUnitTests
Change-Id: I7cb80fef2bfe9513f16dc632b22ef81b1e0f0526
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions