commit | 45fbfa93cc37e9d9d3565f0d5775ccecf828ece8 | [log] [tgz] |
---|---|---|
author | Amit Shekhar <ashekhar@codeaurora.org> | Thu Feb 26 17:48:00 2015 -0800 |
committer | Amit Shekhar <ashekhar@codeaurora.org> | Thu Feb 26 17:48:00 2015 -0800 |
tree | e592c22cdf7555cbe7afd2322d8acd3aaac469ad | |
parent | b58ff9b91d3b263c876f77e56065116ab7f2fab7 [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