commit | b61e7618f731d0367668ce675a9a21734b33ad57 | [log] [tgz] |
---|---|---|
author | Edward Wang <ewang@cyngn.com> | Mon Oct 05 16:23:15 2015 -0700 |
committer | Meninblack007 <sanyam.53jain@gmail.com> | Tue Mar 21 22:08:16 2017 +0530 |
tree | fb89180c7641d309acb4619b22a8a9d4d3813a7d | |
parent | 7ae72d40aea38beccf55e7bf590f5e03a3b6a191 [diff] |
remote_submix: Fix resampler and channel conversion * Add support for multiple channels to resampler * Fix out-of-bounds write during channel conversion. When pipe stream is stereo and input stream is mono, it will do inplace conversion. But the input buffer is only allocated for mono channel. Repurpose resampler_buffer for both conversion and resampling. Change-Id: I5a683148317e4fabc1c40b308472f698a8429c6b