commit | 6ba62d1b2bffc9e9cc22b6ef32e8e76172b345e0 | [log] [tgz] |
---|---|---|
author | kunleiz <kunleiz@codeaurora.org> | Wed Jun 20 13:55:46 2018 +0800 |
committer | kunleiz <kunleiz@codeaurora.org> | Wed Jun 20 14:20:06 2018 +0800 |
tree | 65d75f9918950c2c176ecbd151b166e327d52bfc | |
parent | 2ab55f3c5cca2a87a179579b2d0e0a0e1f0758ff [diff] |
hal: Set default backend sample rate for headset device When music playback at 22.05Khz with headset, the afe backend sample rate is set to 22.05khz as well. When there is touch tone, it requires afe backend sample rate to 48Khz. The rate change will cause music playback disable and reroute to cause interruption during playback. Fix it by setting backend sample rate to 48Khz if sample rate less than 44.1Khz. CRs-Fixed: 2258133 Change-Id: I711407537c0c41dbac99fea059710912ba6d1af3