History log of /system/media/audio_utils/echo_reference.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
548d9cf23e9d7f3ae1aa78a521c29e1ec4c910a8 02-Nov-2012 Glenn Kasten <gkasten@google.com> Line length 100

Change-Id: Ieecda2651cab0f4cfaef3a23454d3d852091be84
/system/media/audio_utils/echo_reference.c
f06cdb511b2d093fed687fdff4153f7b6e088b62 30-Mar-2012 Eric Laurent <elaurent@google.com> Echo reference tuning and bug fixes

- Add some smoothing in the method used to detect and compensate for echo path
delay deviation: update the reference buffer only if a deviation in the same
direction is observed for more than N consecutive reads.
Also increase the threshold controlling the reference buffer update to avoid
excessive adjustments.

- Fix problem in get_next_buffer() when echo_reference_write() is called with
variable buffer sizes which happens when the echo reference is used after a
resampler in the audio HAL.

- Use the same resampler quality level in echo reference and audio HAL to help
the AEC by reducing the delay variation and filtering differences between the
capture and echo path.

- Take resampler delay into account when calculating echo reference delay.

Change-Id: I2f425154efddd9a28f1d035fde70d55104043606
/system/media/audio_utils/echo_reference.c
c164cb8a9ee435c00d1a7daeaf5e6836d772eb40 17-Feb-2012 Eric Laurent <elaurent@google.com> 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
/system/media/audio_utils/echo_reference.c
33e8f78bb282cbb7b1c55ce0c9d412458989bc9e 06-Feb-2012 Eric Laurent <elaurent@google.com> audio utils: modify echo reference resampler

Modify echo reference resampler to accept upsampling.
This allows higher sampling rates in the capture path than
in the playback path.

Change-Id: Id7b5a11a53e8e09511dcb060bff8355bca3c1420
/system/media/audio_utils/echo_reference.c
d0e472977acbfd5c8d56d506f40039f451f84f8f 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I270cbf7b920d5f2fbb5f345f3c88426697c4391d
/system/media/audio_utils/echo_reference.c
473d4a5c5c66fd8a2e99791d61fa16076558ab54 26-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I4c0e3dc9da0a0cdf9aef8be4fae7b24da876dc17
/system/media/audio_utils/echo_reference.c
c9d5dff9789312449c936913a577fa799565bf1f 01-Sep-2011 Eric Laurent <elaurent@google.com> clean up in echo reference code

Change-Id: Ie06ed382eee2f1d4d1289d9a49d8a93dcf103e4e
/system/media/audio_utils/echo_reference.c
b3184d71bc6cee9fcbb36343e379143329be00ce 18-Aug-2011 Eric Laurent <elaurent@google.com> Converted libaudioutils implementation to C.

Converted libaudioutils implementation and interfaces from C++ to C
and removed dependencies from frameworks/base classes so that it can
be used by any audio HAL implementation.

Change-Id: I3f7ce541be8495d41864661451540971b067359b
/system/media/audio_utils/echo_reference.c