Patent ID: 8295475

Claim:
A method of digital signal processing for enhancing audio echo cancellation in a two-way communication system, the method comprising: performing at least one quality measurement of a relative sample offset between a rendered signal and a captured signal in the two-way communication system, wherein the at least one quality measurement includes variance of the relative sample offset; and enhancing audio echo cancellation by selectively determining whether to perform at least one correction process based on the quality measurement, the audio echo cancellation predicting echo from the rendered signal in the captured signal based on an adaptive filter with the rendered and captured signals aligned in physical time according to the relative sample offset between the rendered and captured signals, wherein selectively determining whether to perform the at least one correction process comprises at least one of: determining to perform large glitch detection and small glitch detection if the variance is within a low variance range; determining to perform large glitch detection but not small glitch detection if the variance is within a middle range; and determining to perform neither large or small glitch detection if the variance is in a high range.