commit | 73e303cbe844fd11f676a835f6486d70e56ade85 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Sep 15 17:49:50 2022 +0000 |
committer | jiabin <jiabin@google.com> | Thu Sep 15 17:49:50 2022 +0000 |
tree | 5736f0a75db42ab6293e1e83be9569861270bf9f | |
parent | bb2443ef65759d44dce3fe62b257d4797ae1b778 [diff] |
Use index mask when there is no valid input mask from output mask. When creating PatchRecord, there can be no input channel mask equivalent to output channel mask. In that case, use index mask instead given there is already a proper output channel mask. Bug: 245793724 Test: repo steps in bug Test: atest audiopolicy_tests AudioPlaybackCaptureTest Change-Id: Ie6b5d80899a7eeea1fcb88fcdf8cd50bc1a97321