-
Notifications
You must be signed in to change notification settings - Fork 349
[RTNR] Fix buffer size calculation #5541
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] Fix buffer size calculation #5541
Conversation
237bd65 to
ff5e668
Compare
|
@MingJenTai I guess this needs a backport to adl-04 and tgl13 ? |
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.
@MingJenTai forgot to say, can you say in the commit message how the buffer size should be calculated for RTNR.
|
Please also add my sign-off to the commit as this was a joint fix |
The correct frame length should be calculated by FRAME_LEN = SAMPLING_RATE * PERIODS / 1000000 The macro COMP_PERIOD_FRAMES does the thing. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
ff5e668 to
a2999d8
Compare
Yes a backport to adl-04 is needed. But I am not sure if tgl13 is also needed. |
Added in the commit message, thanks! |
Yes your sign-off is added in the commit message, thanks! |
|
SOFCI TEST |
|
Rerun CI, looks like CI was blocked. |
|
@MingJenTai please send to ald-004-drop-stable release branch |
Done. Please check #5625 |
This PR fixes the faulty calculation of component buffer size.