commit | 5862c1e3bca8d66b11ef7f0d041171bce79a3104 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Aug 19 21:37:35 2022 +0000 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon Aug 22 17:41:56 2022 +0000 |
tree | f956d975f92a4d19a6fba23c70a34498bd0f0533 | |
parent | 71412d691933926e9360e7bdbf3a5c4a52351ad8 [diff] |
audio: Add StreamDescriptor.frameSizeBytes This field indicates the frame size and is filled by the HAL module, so that the client does not have to calculate it. As a side effect, in the VTS code, a StreamContext can now be created solely from a StreamDescriptor. Added unit tests for the functions from Utils. Bug: 205884982 Test: atest libaudioaidlcommon_test Test: atest VtsHalAudioCoreTargetTest Change-Id: Ief836b8b2d35bacb1f9778e2462d540554149d7f