commit | bdf526dec5cdb2f53405d26b1a75d7e887fceaa9 | [log] [tgz] |
---|---|---|
author | Haofan Wang <haofanw@google.com> | Sun Jul 07 15:29:38 2024 -0700 |
committer | Haofan Wang <haofanw@google.com> | Thu Aug 01 22:40:51 2024 +0000 |
tree | ba01eb0832a94c778937e2943354a3da30d4ca3e | |
parent | 2c71103319a0d1e483604da097acf121d03a410e [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 Change-Id: I528cb39ec8f79b672acdbbbf4316ed655f6797ae