echo reference: fix buffer overflow

commit 33e8f78b introduced a regression causing the input buffer
size to be underestimated when downsampling and doing stereo to mono
conversion.

Also a test in create_echo_reference() was not removed and prevented
write sampling rates lower than read sampling rates.

Change-Id: I2ce2e32748eb9d00f4d5b32e5db5149f177c8804
1 file changed
tree: ca9debef17046f50206fe9a5d6b5a83a3a3db3e8
  1. audio_effects/
  2. audio_utils/
  3. mca/
  4. wilhelm/
  5. CleanSpec.mk