Skip to content

AEC 延迟估计 #11

@gxpzy

Description

@gxpzy

文章AEC 流程解析中延迟估计方法为WebRtc_DelayEstimatorProcessFloat,但看代码只是用于logging
https://github.com/Ryuk17/SpeechAlgorithms/blob/master/WebRTC_AEC/src/aec_core.c#L896

if (aec->delay_logging_enabled) {
    int delay_estimate = 0;
    if (WebRtc_AddFarSpectrumFloat(
            aec->delay_estimator_farend, abs_far_spectrum, PART_LEN1) == 0) {
      delay_estimate = WebRtc_DelayEstimatorProcessFloat(
          aec->delay_estimator, abs_near_spectrum, PART_LEN1);
      if (delay_estimate >= 0) {
        // Update delay estimate buffer.
        aec->delay_histogram[delay_estimate]++;
      }
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions