-
Notifications
You must be signed in to change notification settings - Fork 286
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
Feature - Add audio tab and master volume setting #4661
Conversation
Thanks for the PR. We are getting close to the 0.49.14 Dev release, so this will get tagged with a "For new dev cycle (49.15). If you haven't joined our Discord I'd recommend joining it as its an easy way to get feedback. |
0674a0e
to
b563520
Compare
Wire up new classes to use the master volume setting to change the volume of sound output
Add AudioService interface for other possible users, and SoundType enum for current sounds
b563520
to
a6ceeb8
Compare
Updated this PR with some small changes |
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, I'd like to see a few comments on some the new classes.
Added some comments explaining the Sound class and methods and the methods in SoundManager. Let me know if I should add more :) |
This PR adds a Master Volume setting to the application to control the sound output, and also moves the audio settings into a new tab in the Client Settings menu.
In addition, there is a new Sound class that encapsulated storing and playing sound files, and a SoundManager class to provide an interface for all of the current sounds effects as well as handling audio settings changes.