effectsMuted not working in ios 11.3
Our games are using your OALSimpleAudio, it worked very well. however! after users update iOS 11.3,
They mute the sounds but this sounds still play
(in this function. OALSimpleAudio.sharedInstance().effectsMuted = ... )
But the Background Music don't get this problem
(in this function. OALSimpleAudio.sharedInstance().bgMuted = ... )
Thanks you so much.
Anybody found a workaround for this?
Do you get this issue too?
Yeah, I have the exact same issue.
Have the same issue.
I researched this issue. I think that Apple in 11.3 updated API of sound. OpenAL set volume to 0, but the API does not apply it.
The same issue in cocos2d-x. link
i fixed it by add a condition in playEffect function
if(muted | effectsMuted) { return nil; }
this way resolved this issue