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

sg5k: calcBiquad: add missing break; for hishelf #373

Merged

Conversation

grahamwhaley
Copy link
Contributor

There was a missing break; at the end of the FILTER_HISHELF
case in the calculations, meaning a hishelf coeff calc always
returned the default fallthrough case, which is a benign passthrough
filter.

Fix by adding the break;.

Fixes: #343

Signed-off-by: Graham Whaley [email protected]

There was a missing `break;` at the end of the FILTER_HISHELF
case in the calculations, meaning a hishelf coeff calc always
returned the default fallthrough case, which is a benign passthrough
filter.

Fix by adding the `break;`.

Fixes: PaulStoffregen#343

Signed-off-by: Graham Whaley <[email protected]>
@PaulStoffregen PaulStoffregen merged commit d379746 into PaulStoffregen:master Feb 5, 2021
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.

calcBiquad returns nonsense for FILTER_HISHELF case
2 participants