Skip to content
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

math: avoid re-initialising variables every loop iteration #8999

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

lyakh
Copy link
Collaborator

@lyakh lyakh commented Apr 2, 2024

In psy_get_mel_filterbank() if fb->slaney_normalize isn't set, 3 variables are reset to the same values needless every loop iteration. Move initialisations outside the loop instead.

In psy_get_mel_filterbank() if fb->slaney_normalize isn't set, 3
variables are reset to the same values needless every loop iteration.
Move initialisations outside the loop instead.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@lyakh
Copy link
Collaborator Author

lyakh commented Apr 2, 2024

CI: why were so many cAVS targets skipped? https://sof-ci.01.org/sofpr/PR8999/build3715/devicetest/index.html The zmain build tailure on imx8* is probably unrelated https://github.com/thesofproject/sof/actions/runs/8519440158/job/23333487200?pr=8999

@kv2019i kv2019i merged commit f77bdfb into thesofproject:main Apr 3, 2024
43 of 45 checks passed
@lyakh lyakh deleted the math branch April 3, 2024 14:51
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.

4 participants