commit | bf44e0994b18f631bf9f4e04b5d6efcb52b1eebe | [log] [tgz] |
---|---|---|
author | Haofan Wang <haofanw@google.com> | Sun Jul 07 15:29:38 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Aug 21 12:56:39 2024 -0700 |
tree | 93a46ec655afa611b2bcd0ff12a837de7551ce96 | |
parent | 43147f43cf4a495ac01062e8d6f6a6e52a6985a6 [diff] |
Add SourceMetadata as a new parameter in openOutputStream In order to bypass an audio-encoder and achieve low latency, we need to pass the USAGE_GAME audio attribute to the audio HAL so that the vendor can use this audio usage to bypass ms12. The USAGE_GAME will be stored in SourceMetadata and get pass down to the HAL layer. Bug: 297875432 Test: N/A Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bdf526dec5cdb2f53405d26b1a75d7e887fceaa9) Merged-In: I528cb39ec8f79b672acdbbbf4316ed655f6797ae Change-Id: I528cb39ec8f79b672acdbbbf4316ed655f6797ae