Skip to content

rtnr: Set process_enabled by default and keep its value in rtnr_reset() #6148

Merged
lgirdwood merged 1 commit intothesofproject:mainfrom
MingJenTai:main_rtnr_set_default_on
Aug 17, 2022
Merged

rtnr: Set process_enabled by default and keep its value in rtnr_reset() #6148
lgirdwood merged 1 commit intothesofproject:mainfrom
MingJenTai:main_rtnr_set_default_on

Conversation

@MingJenTai
Copy link
Contributor

@MingJenTai MingJenTai commented Aug 17, 2022

This PR enables RTNR processing by default and keeps its value while the recording is finished.

Since rtnr_reset() will be called once recording is finished, the value of process_enabled should not be changed in this function.

Otherwise every new recording will start with the value set in rtnr_reset() and it should be an incorrect behavior.

@MingJenTai MingJenTai force-pushed the main_rtnr_set_default_on branch from e4313cc to 71a9318 Compare August 17, 2022 07:23
@MingJenTai MingJenTai changed the title Set RTNR default enabled rtnr: Set process_enabled by default and keep its value in rtnr_reset() Aug 17, 2022
Since rtnr_reset() will be called once recording is finished, 
the value of process_enabled should not be changed in this function.
Otherwise every new recording will start with the value set in 
rtnr_reset(), and it should be an incorrect behavior.

Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
@MingJenTai MingJenTai force-pushed the main_rtnr_set_default_on branch from 71a9318 to c4c13d4 Compare August 17, 2022 07:53
@lgirdwood lgirdwood merged commit 5c3594a into thesofproject:main Aug 17, 2022
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