commit | 815b43e2fdfc53c3815f9aca771eb541d9bd1123 | [log] [tgz] |
---|---|---|
author | kunleiz <kunleiz@codeaurora.org> | Fri Aug 10 11:08:03 2018 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Aug 16 19:37:13 2018 -0700 |
tree | 2af50179bb59a5c229459bb224da792e4aa88c19 | |
parent | 1585f8481312a2928af73813c8307c78127dd3fc [diff] |
hal: reset backend sample rate if device backend is not supported During playback, output stream sample rate mismatches with device backend supported sample rate. And the backend sample rate is still set to stream sample rate. This causes mute issue happens. Fix it by resetting backend sample rate at default sample rate if backend supported sample rate and stream sample rate are mismatched. CRs-Fixed: 2293122 Change-Id: I72da6ff176d0558cb7635a265d5fde5a9ea3942a