Library for echo cancellation