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

SoundEngine mute and unmute receive nullpoint. #76

Open
MAAARKIN opened this issue May 22, 2014 · 0 comments
Open

SoundEngine mute and unmute receive nullpoint. #76

MAAARKIN opened this issue May 22, 2014 · 0 comments

Comments

@MAAARKIN
Copy link

I have a button that mute and unmute the sound.

basically i have

//if my button was pressed
if(SoundEngine.sharedEngine().isMute()) {
SoundEngine.sharedEngine().unmute();
} else {
SoundEngine.sharedEngine().mute();
}

when i start my game, and i press a lot of times, no have problem. But, when i start my game, stop and go back to unmute the sound i receive NullPointException.

on SoundEngine line 64.

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

No branches or pull requests

1 participant