Loading
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