-
Notifications
You must be signed in to change notification settings - Fork 349
rtnr: Add audio stream layer between sof and RTNR #5543
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
rtnr: Add audio stream layer between sof and RTNR #5543
Conversation
lgirdwood
left a comment
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.
Can the commit message say why you are making the changes and how you are making them otherwise it's difficult for the reviewers to follow.
|
I would like to hold on this commit till I can get it to work, I have not been successful yet |
|
This is because in the main branch the audio_stream structure is modified and is different to the one in other branches such as adl-004-drop-stable. To maintain the compatibility between branches I added a layer between sof and RTNR. |
The audio_stream structure might be different between branches. To maintain the compatibility between branches, a layer between sof and RTNR is added. Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
53cae5e to
f94f114
Compare
The commit message is updated. Thanks! |
ok, but this just adds another layer of indirection. Are you doing this to retain API compatibility or ABI compatibility ? |
I am going to retry this now that I have #5570 |
Now merged. |
|
Can one of the admins verify this patch? |
|
@MingJenTai any update here ? |
Hi @lgirdwood , I think we need to wait for the testing result by @cujomalainey for this PR. Thank you! |
@cujomalainey Can this PR be merged now? Thanks. |
@MingJenTai I'm still not following why we need this additional level of wrapping/copies ? |
|
Originally RTNR uses But Therefore we decided to abstract this layer as an internal structure in RTNR, so that the interface between sof and RTNR would always be consistent. |
|
|
||
| #define MicNum 2 | ||
| #define SpkNum 2 | ||
|
|
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.
preferred format for subject is:
rtnr: Add audio stream layer...
instead of
[RTNR] Add ...
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.
Fixed this. Thank you!
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 Can this PR be merged? Thanks.
|
Sorry yes, given other issues were traced to other systems, debugged and fixed, we can go ahead here. |
This PR adds an audio stream layer between sof and RTNR for consistency.