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

Make audio support optional #225

Merged
merged 3 commits into from
Apr 23, 2019
Merged

Make audio support optional #225

merged 3 commits into from
Apr 23, 2019

Conversation

linkmauve
Copy link
Contributor

This reduces the amount of dependencies of 16 if audio support isn’t required by the game.

Copy link
Collaborator

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

opengl = ["gfx_device_gl", "gfx_window_glutin", "glutin"]
audio = ["rodio"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

would you consider changing the feature name to simply "rodio"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, but that sounds less like something the user may understand, at first sight.

Copy link
Collaborator

Choose a reason for hiding this comment

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

yeah, I take the point. Let's proceed then

@kvark
Copy link
Collaborator

kvark commented Apr 23, 2019

bors r+

@kvark
Copy link
Collaborator

kvark commented Apr 23, 2019

bors r-

@bors
Copy link
Contributor

bors bot commented Apr 23, 2019

Canceled

@kvark
Copy link
Collaborator

kvark commented Apr 23, 2019

It just occurred to me that we are missing CI checks for builds without "audio" feature

@linkmauve
Copy link
Contributor Author

This might work, let’s wait for CI to run.

@linkmauve
Copy link
Contributor Author

Turns out three doesn’t currently build when the opengl feature is absent, I force-enabled it in this commit. It would be useful to fix that eventually.

@linkmauve
Copy link
Contributor Author

Seems to test just fine, thanks for the comment!

@kvark
Copy link
Collaborator

kvark commented Apr 23, 2019

Amazing work, thank you!
bors r+

bors bot added a commit that referenced this pull request Apr 23, 2019
225: Make audio support optional r=kvark a=linkmauve

This reduces the amount of dependencies of 16 if audio support isn’t required by the game.

Co-authored-by: Emmanuel Gil Peyrot <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 23, 2019

Build succeeded

@bors bors bot merged commit 0400522 into three-rs:master Apr 23, 2019
@linkmauve linkmauve deleted the optional-audio branch April 23, 2019 20:11
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.

2 participants