Creates a new echo canceller with the given filter settings.
Sample rate and adaptive filter parameters.
Processes a microphone PCM chunk, subtracting the reference echo.
Raw microphone samples (Float32, range [-1, 1]).
Echo-cancelled PCM samples with the same length as micChunk.
Resets the adaptive filter coefficients to their initial state. Call this after a long period of silence or when starting a new session.
Updates the reference signal buffer with audio that is about to be played. Must be called before playback reaches the speakers to allow the filter to align the reference with the captured echo.
PCM samples being sent to the speaker output.
Applies acoustic echo cancellation to incoming microphone PCM frames.