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

Initialize variables in servers/audio #52639

Closed
wants to merge 1 commit into from

Conversation

qarmin
Copy link
Contributor

@qarmin qarmin commented Sep 13, 2021

Part of #43636

I'm doing smaller patches, because rebasing against changes is master branch are easier.

@qarmin qarmin added this to the 4.0 milestone Sep 13, 2021
@qarmin qarmin requested a review from a team as a code owner September 13, 2021 19:16
@qarmin qarmin force-pushed the cppcheck_servers_audio branch from 69fb5b3 to 869507c Compare September 13, 2021 20:18
float sampling_rate;
int stages;
Mode mode;
float cutoff = 5000.0;
Copy link
Contributor

@AaronRecord AaronRecord Sep 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these have an f suffix since they are floats?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can add it, but it is really needed?
Looks that both, with and without f, produce same assembly in godbolt

@qarmin qarmin force-pushed the cppcheck_servers_audio branch from 869507c to 9ac02db Compare September 14, 2021 07:30
@qarmin qarmin requested a review from a team as a code owner September 14, 2021 07:30
@qarmin qarmin removed the request for review from a team September 14, 2021 10:51
@qarmin
Copy link
Contributor Author

qarmin commented Nov 30, 2021

Currently I don't have enough time to rebase such commits, so feel free to use them to create new PR.

@qarmin qarmin closed this Nov 30, 2021
@qarmin qarmin removed this from the 4.0 milestone Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants