A method and apparatus for adaptive echo and noise control. A signal can
be received at an input to a communication or electronic device.
Background noise in the signal can be determined. The order of noise
suppression and echo cancellation can be adaptively determined based on
the background noise in the signal. Adaptively determining the order of
noise suppression and echo cancellation can be performed by comparing the
background noise to at least one threshold, performing echo cancellation
prior to noise suppression on the signal if the background noise is below
the at least one threshold, and performing noise suppression prior to
echo cancellation on the signal if the background noise is above the at
least one threshold.