commit | ca0dd184d7973b2d4c8c5e162b1a83c9b44ac01e | [log] [tgz] |
---|---|---|
author | Chris Waddell <quic_cwaddell@quicinc.com> | Fri Nov 25 17:15:30 2022 +0000 |
committer | Eric Laurent <elaurent@google.com> | Thu Dec 15 16:37:10 2022 +0100 |
tree | 871bbc0906ca38e346cadd5091bf753d0116f759 | |
parent | f8ab9cc189b8186c974604e2da9394321286c3e8 [diff] |
Add libaudiousecasevalidation library This library will verify the audio attributes usage for a track that is connected to the specified stream. It will only update the audio attributes usage for AUDIO_USAGE_MEDIA or AUDIO_USAGE_UNKNOWN, to AUDIO_USAGE_GAME if output flags AUDIO_OUTPUT_FLAG_FAST or AUDIO_OUTPUT_FLAG_MMAP_NOIRQ have been set for specified stream. Bug: 257922898 Test: atest libaudiousecasevalidation-test Change-Id: Ic2d89fa05467538abbc97d707478df1d70901fdb