commit | d5b643f013dab296529a7890d16c43fda3cc4dcf | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Feb 15 11:51:26 2024 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Feb 15 13:53:23 2024 -0800 |
tree | 7b12c7e594453e181859d614834d13c7191d1721 | |
parent | f84a5583317275505cddd403ca3dea3998ff19fa [diff] |
Use HAL-provided config for getInputBufferSize Since getInputBufferSize is essentially the same operation as opening a stream, it can also suggest a config if the provided one is not supported. Modify AudioFlinger::getInputBufferSize implementation to retry with HAL-provided config. Bug: 318423731 Test: run `atest audioeffect_tests` on cf_x86_64_auto-trunk_staging-userdebug Change-Id: I0eb14966ce816674d631bfef097d243a0445c83b