commit | cdf924a32579e92ea456e8e7d5c14ed5920b620f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Feb 04 15:57:56 2016 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Feb 05 16:46:29 2016 +0000 |
tree | 5bf84116acb58e98506f95bd93bccbf39d678309 | |
parent | da53ce37c5283fad74d213f855ed8f4a078b860c [diff] |
audio flinger: add check in getInputBufferSize() Make sure that the sample rate passed to getInputBufferSize() is not 0 to avoid divide by 0 in destinationFramesPossible() Also check the channel mask parameter for validity. bug: 26866012 Change-Id: Ifabbf56cadb0db104f99230cacdba30e0c6a0a3a