commit | 6efde5c07f10b0127256b3714dd06031f277dd6a | [log] [tgz] |
---|---|---|
author | Preetam Singh Ranawat <apranawat@codeaurora.org> | Fri Apr 24 11:04:22 2015 +0530 |
committer | Preetam Singh Ranawat <apranawat@codeaurora.org> | Fri Apr 24 11:05:27 2015 +0530 |
tree | 25ceb8b90b209c39e20de1b0ca3570959d6862da | |
parent | 2cbadd923381c9052801d8365a014cde66aae4c9 [diff] |
hal: Fix alignement of of buffer sent to DSP Currently, ALIGN macro can align properly only if the buffer size is a power of 2. To have same PCM samples for all channels, the buffer size requires to be multiple of (number of channels * bytes per sample). For writes to succeed, the buffer must be written at address which is multiple of 32. Alignment of 96 satsfies both of the above requirements. Change-Id: I55d261092925ee1fc57df6954ff40ac4f77494db