commit | 9ebf6791339176b119385c749f17a5b19700c930 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Wed Sep 23 22:49:01 2020 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 21 00:22:32 2020 -0800 |
tree | aa445cb33b8c49a47afe80fc2345fe76efb9bebc | |
parent | 59fbc5e92ca04f89219d0a4cc2a43d5801f0f6c3 [diff] |
hal: fix trailing sound heard during a2dp codec switch When a2dp reconfig comes for pcm offload usecase, path can be disabled without switching to speaker, which leads cached PCM data rendered out after switching to new codec, so trailing sound can be heard first and then followed with mute, and finally when unmute is issued, the mute period can sound like a glitch. Change-Id: I8dc4349d0cb334252f1f9bbb27713e71a0bc7fb3