audio HAL: fix echo reference.

The number of frames written to the echo reference buffer in out_write() was wrong.
As we write frames at the audioflinger sampling rate we should write the number of
frames passed to out_write(), not the number of frames passed to tynialsa after resamopling.

Change-Id: Ia6a1c7e090c73e1566634a17b720e1e6049b22fe
1 file changed