-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Merged by Bors] - use ogg by default instead of mp3 #3421
Conversation
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.
I think this is an important stopgap solution. We can at least reduce the pain here.
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.
Looks good to me. This brings us closer to being able to build for wasm without disabling default features.
Although a lot of people use mp3, they really shouldn't. It's easy to mass convert mp3 to ogg.
a83f465
to
80e4c0a
Compare
Yup, with this change Bevy builds in wasm with the default features |
I agree that this is the best short term move, especially given that there are already long term solutions in the works (Symphonia backends and/or minimp3 dependency fixes). Bevy should work everywhere by default and people that really want mp3 support can just enable the feature. |
bors r+ |
# Objective - mp3 feature of rodio has dependencies that are not maintained with security issues - mp3 feature of rodio doesn't build in wasm - mp3 feature of rodio uses internal memory allocation that cause rejection from Apple appstore ## Solution - Use vorbis instead of mp3 by default Co-authored-by: François <8672791+mockersf@users.noreply.github.com>
Objective
Solution