Skip to content

Conversation

@lkoenig
Copy link
Contributor

@lkoenig lkoenig commented Jan 26, 2022

This backports Google Initial AEC to latest tigerlake branch

Original PR: #5090

Introduce a new component to perform acoustic echo cancellation
on capture path using a buffer from the playback as a reference.

1. Put the google_rtc_audio_processing at
$SOF_REPO/third_party_libraries
  - libgoogle_rtc_audio_processing.a
  - libgoogle_rtc_audio_processing_tuning.a
  - libc++.a (Corresponding stdlibc++)
  - libc++abi.a
2. Put the header in $SOF_REPO/third_party_includes
  - google_rtc_audio_processing.h

3. Build firmware and tool with xcc

4. To verify it works:
  - aplay some speech
  - At the same time arecord the mic which uses AEC
  The mic signal should not exhibit any echo from the playback.

Signed-off-by: Lionel Koenig <lionelk@google.com>
This adds a mock to be able to build with the
google_rtc_audio_processing component.

Signed-off-by: Lionel Koenig <lionelk@google.com>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mwasko fyi.

@mwasko
Copy link
Contributor

mwasko commented Jan 26, 2022

@lkoenig please provide confirmation that a change was validated

@lkoenig
Copy link
Contributor Author

lkoenig commented Jan 27, 2022

@mwasko I did build hte change for adl-004 and main. However I do not have the topology ready yet for adl-004 to fully test it on hardware.

@mwasko mwasko merged commit 8e188cd into thesofproject:adl-004-drop-stable Jan 27, 2022
@lkoenig lkoenig deleted the adl-004/google-rtc-audio-processing branch January 27, 2022 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants