Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thesofproject/webrtc-audio-processing
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: thesofproject/webrtc-audio-processing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: sof-hifi
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 216 files changed
  • 2 contributors

Commits on Sep 9, 2026

  1. Configuration menu
    Copy the full SHA
    f2d64f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffc2c42 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2026

  1. aecm: eliminate floating-point operations and ensure zero-initialization

    Convert delay estimator histogram to Q14 fixed-point integer math and replace
    floating-point scaling in AECm to achieve pure fixed-point execution with
    zero soft-float symbols on embedded DSPs.
    lrgirdwo committed Sep 10, 2026
    Configuration menu
    Copy the full SHA
    d2024a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2d5123 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4f6060 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    825a3b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1dd898c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a82d13 View commit details
    Browse the repository at this point in the history
  7. aec3: optimize modern AEC3 pipeline for real-time soft-float DSP exec…

    …ution
    
    - Implement branchless FastFloatSqrt, FastFloatInv, and FastFloatDiv avoiding slow soft-float library calls
    - Replace O(M*N) nested moving average loops with O(N) fused register-resident updates
    - Specialize O(1) ring buffers for power-of-two frame and block framing
    - Decouple comfort noise synthesis from spectrum estimation, executing CNG only on active suppression
    - Eliminate redundant FFT stack copies, dead math routines, and optimize synthesis windowing
    - Guard periodic cycle telemetry printks with CONFIG_WEBRTC_AEC_PERF_TELEMETRY
    - Achieve 113 kcycles/block (under 153.6 kcycles budget) on Intel Panther Lake DSP
    lrgirdwo committed Sep 10, 2026
    Configuration menu
    Copy the full SHA
    3c4c034 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2026

  1. Configuration menu
    Copy the full SHA
    3e9c41a View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2026

  1. Revert "aec: optimize Classic Float AEC for embedded soft-float DSP t…

    …argets"
    
    This reverts commit e2d5123.
    
    The optimization cut the normal filter from 12 to 2 partitions (8 ms
    at 16 kHz), removed the gradient constraint from the filter adaptation
    and dropped the non-linear processing. With a real speaker to mic echo
    path the canceller then removed only a few dB of echo.
    
    Restore the original filter length and adaptation so the linear echo
    canceller converges on realistic echo paths.
    singalsu authored and lgirdwood committed Nov 26, 2026
    Configuration menu
    Copy the full SHA
    07b4a69 View commit details
    Browse the repository at this point in the history
  2. aec: add linear-only output mode without NLP

    For wake on voice and speech recognition the residual echo suppression
    (NLP) is harmful, it attenuates the near-end talker together with the
    echo and prevents barge-in. The NLP also needs qsort() which is not
    available for SOF LLEXT modules.
    
    Add WEBRTC_AEC_LINEAR_ONLY, enabled by default, that outputs the linear
    filter error signal and skips the NLP stage. The full adaptive filter
    is kept. Define it to 0 to build the original NLP output.
    singalsu authored and lgirdwood committed Nov 26, 2026
    Configuration menu
    Copy the full SHA
    e5db731 View commit details
    Browse the repository at this point in the history
  3. aec: shrink far-end buffers and delay search window

    On an embedded DSP the speaker and microphone paths are short and
    fixed, the echo arrives within about 15 ms of the reference. The
    desktop sized one second far-end buffers took 2 x 130 kB of memory
    and the delay estimator searched 500 ms per block.
    
    Reduce the far-end buffers to 32 partitions (128 ms), enough for a
    15 ms reported delay plus the startup fill, and limit the startup
    buffer size accordingly. Limit the delay estimator to -16 .. +48 ms
    around the alignment, the span of the normal filter. This saves about
    230 kB of heap and some MCPS from the delay estimator.
    singalsu authored and lgirdwood committed Nov 26, 2026
    Configuration menu
    Copy the full SHA
    71f75f8 View commit details
    Browse the repository at this point in the history
  4. aec: keep the divergence safeguard in linear-only mode

    The divergence safeguard of the classic AEC is in SmoothedPSD(), which
    is called only from the NLP stage. With WEBRTC_AEC_LINEAR_ONLY the NLP
    is skipped, so a misadapted filter could output more energy than the
    microphone signal. On music playback this was seen as several seconds
    of negative ERLE, down to -12 dB, after start-up.
    
    Add the same safeguard to the linear-only output. Smoothed near-end and
    error block energies select the near-end signal as output while the
    error is larger, and the filter is reset if the error exceeds the
    near-end by 13 dB, as in the NLP path.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu authored and lgirdwood committed Nov 26, 2026
    Configuration menu
    Copy the full SHA
    4caebef View commit details
    Browse the repository at this point in the history
  5. aec: lower the filter adaptation step size to 0.3

    With the default step size of 0.5 the linear-only AEC sometimes
    misadapted for a few seconds when the music content changed, which
    reduced the echo attenuation. A step size of 0.3 gave steadier ERLE on
    music playback, without loss of steady-state ERLE or recovery after
    near-end speech.
    
    Add WEBRTC_AEC_NORMAL_MU for the step size at 16 kHz and higher rates,
    with 0.3 as default. The 8 kHz value is not changed.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu authored and lgirdwood committed Nov 26, 2026
    Configuration menu
    Copy the full SHA
    07232bb View commit details
    Browse the repository at this point in the history
Loading