commit | b51d63ef1f1bfab616cd8946cfeba29643c38531 | [log] [tgz] |
---|---|---|
author | Nikolay Martyanov <nikolay.martyanov@opensynergy.com> | Mon Sep 14 12:10:39 2020 +0200 |
committer | Nikolay Martyanov <nikolay.martyanov@opensynergy.com> | Thu Sep 17 14:55:30 2020 +0200 |
tree | acb7a3a88766183f12242caba20ceda79ee97ecb | |
parent | c330f6e26466b470e6ce6d4776a30fabdf849827 [diff] |
Audio HAL: Wait for available frames for the input stream. Audio HAL in_read function does not wait for all required frames. And if there's not enough frames to fill application's input buffer, HAL just silences the rest. This patch adds polling for the required number of frames for the input stream. Bug: 167390806 Test: Build, boot, play an audio file Change-Id: I162672feba7414c7f93c9c3bf9493cacb4ce367a