commit | 5592cef2569c24e4c669d46546a479f79e7b2ad1 | [log] [tgz] |
---|---|---|
author | Amit Shekhar <ashekhar@codeaurora.org> | Thu Feb 26 17:48:00 2015 -0800 |
committer | Steve Kondik <steve@cyngn.com> | Tue Oct 13 09:07:27 2015 -1000 |
tree | 4a981a86466a7920e1eabcd466749e2c59de966a | |
parent | 099909785eb0c2a2e42dd13509456e6cf24d5ecb [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: I5ab33ef198b5b8f18ae9f09c4361e5cff84e700e CRs-Fixed: 795936