commit | c330f6e26466b470e6ce6d4776a30fabdf849827 | [log] [tgz] |
---|---|---|
author | Nikolay Martyanov <nikolay.martyanov@opensynergy.com> | Mon Sep 14 12:09:07 2020 +0200 |
committer | Nikolay Martyanov <nikolay.martyanov@opensynergy.com> | Thu Sep 17 14:54:55 2020 +0200 |
tree | afffeab9261dacc1749c15913af1ebf07656c4ee | |
parent | 11dfa08a25c7a506257ea39e75e38fc5b180bf4f [diff] |
Audio HAL: Adjust default buffer size. The audio HAL works through tinyalsa, that doesn't provide way to query supported parameters from the device. For this reason, all audio HALs in Android use hardcoded audio parameters. In turn, default buffer size that is allocated by the CF HAL does not match supported by the virtual sound card. It leads to a lot of underruns and so on. Bug: 167390806 Test: Build and boot Change-Id: I6feda36b4e961539555e082e2e6b2d59c73d8f7f