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

Sound Manager master volume and mute don't work #8

Open
ezavada opened this issue Jul 12, 2014 · 0 comments
Open

Sound Manager master volume and mute don't work #8

ezavada opened this issue Jul 12, 2014 · 0 comments

Comments

@ezavada
Copy link
Owner

ezavada commented Jul 12, 2014

Volume sound is played at should be MasterVolume * soundVolume

Do this by making setVolume save the volume passed in but calculate the volume set at the OS level for each sound as multiplied by the master volume. Have the sound manager change the master volume then call snd.setVolume(snd.getVolume()) on each sound to change volume or mute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant