Skip to content

Conversation

@MingJenTai
Copy link
Contributor

@MingJenTai MingJenTai commented Nov 3, 2021

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.

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.
@cujomalainey
Copy link
Contributor

Thanks for the update, FYI, you can add the cherry picked from tag with the -x flag when doing the cherry pick

@cujomalainey cujomalainey merged commit de0e082 into thesofproject:adl-003-drop-stable Nov 4, 2021
`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))
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

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.

3 participants