Mikhail Naganov 8c27e46bb9 audio: Restrict reported channel masks to "mono" and "stereo"
When translating supported channel counts into channel masks,
only use channel layouts for 1 and 2 channels: "mono" and
"stereo", while reporting all other counts via indexed
masks. This helps to support output to multichannel USB Audio
interfaces properly.

Bug: 329571487
Test: repro steps in the bug
Change-Id: Ibbbf71e7f04a6622cccaddeb3f4f140193d7f8fb
2024-07-18 17:03:53 -07:00
2023-09-13 21:18:46 +00:00
2023-09-08 20:25:29 +00:00
2023-10-10 10:30:03 +09:00
2024-04-05 02:29:07 +00:00
2023-10-16 15:02:54 -07:00
2023-04-07 23:41:20 +00:00
2023-12-12 18:06:34 +09:00
2024-04-05 02:29:07 +00:00
2024-04-12 14:43:22 -03:00
2023-09-08 21:06:03 +00:00
2024-04-05 02:29:07 +00:00
2023-09-11 17:03:06 +00:00
2024-06-13 00:01:10 +00:00
2024-01-10 12:30:37 -08:00
2024-02-20 21:05:23 +00:00
2024-06-04 00:26:19 +00:00
2023-09-11 16:32:19 +00:00
2016-08-30 11:28:36 -07:00
2022-08-01 16:19:14 +00:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%