-
Notifications
You must be signed in to change notification settings - Fork 349
Cherry-pick RTNR commits from main branch to adl-003-drop-stable #4952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry-pick RTNR commits from main branch to adl-003-drop-stable #4952
Conversation
This PR adds RTNR Noise Reduction/Suppression(NR/NS) component by Realtek Semiconductor Corp. This feature links to proprietary libraries. Please contact antz0525@realtek.com for any question about the library. Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com> Cherry-picked from bbc5209, with the following changes: Move files added under tools/topology/topology1/ to tools/topology/ Migrate changes in tools/topology/topology1/CMakeLists.txt to tools/topology/CMakeLists.txt Modify rtnr_new() in rtnr.c in accordance with API changes.
Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com> Cherry-picked ffrom a226f0b
Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com> Cherry-picked from d3381ea, with following changes: Migrate changes in tools/topology/topology1/CMakeLists.txt to tools/topology/CMakeLists.txt Migrate changes in tools/topology/topology1/sof-tgl-max98357a-rt5682.m4 to tools/topology/sof-tgl-max98357a-rt5682.m4
Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com> Cherry-picked from e4e23d4, with the following changes: Migrate changes in tools/topology/topology1/CMakeLists.txt to tools/topology/CMakeLists.txt
Add 48kHz recording support to RTNR Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com> Cherry-picked from bf1e3b7, with the following changes: Migrate modifications under tools/topology/topology1/ to an upper level.
|
Thanks for the update, FYI, you can add the cherry picked from tag with the |
| `ifdef(`DMIC16KPROC', , `define(DMIC16KPROC, eq-iir-volume)')') | ||
|
|
||
| # include the generic dmic if RTNR is defined, else include generic dmic with kwd | ||
| include(ifdef(`RTNR', platform/intel/intel-generic-dmic.m4, platform/intel/intel-generic-dmic-kwd.m4)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i missed this in my initial review, @MingJenTai this wont work. You simply can't remove hotwording. They both need to work in this config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cujomalainey Ok I'll have a fix for that. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cujomalainey I've created PR #4988 for this. Thank you.
This PR cherry-picks RTNR commits from main branch to adl-003-drop-stable.
The original commits and modifications are stated in the commit message.