-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add and use mixxx::Bpm::valueOr() #4168
Conversation
Pull Request Test Coverage Report for Build 1101432505
💛 - Coveralls |
FWIW, I tried performing an "Entire music library" export to Engine Prime using this branch, and it completed successfully. The previous codebase would occasionally trigger assertion failures in So gets my vote 👍. |
I'm open to it, but the resulting double is not undefined, it's zero. Should it be |
Good point! On the value level there is no undefined, which would otherwise be NaN. |
An optional that wraps always valid BPM values would be more idiomatic. A value of 0.0 is valid for some rare, ambient, beatless tracks. Let's defer this until we rewrite in Rust ;) |
Thanks, looks good. |
Follow-up of #4165 to resolve some FIXME comments.