commit | 35531929378425d2d4726f8bd92cdd44781873ef | [log] [tgz] |
---|---|---|
author | Karthikeyan Mani <kmani@codeaurora.org> | Wed Nov 07 15:44:13 2018 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Nov 26 14:43:01 2018 -0800 |
tree | 7d85a854cdf3cb53120cd7fc63bf1d6e53128a48 | |
parent | 3751e3e2affedd634a7c8de958afd4f7a0561bbd [diff] |
hal: Check input buffer size as multiple of channel Update get input buffer size logic for record use cases such that the size is also a multiple of bytes per sample period. For 6 channel 32 bit recording the computed value was not a multiple of bytes per sample and this mismatches with the computed value by ALSA causing buffer invalid errors because the use case pointers difference was reaching stop threshold. Change-Id: Ibca14baf26334888819cd15db39626b63c14f626