I’m trying to use audio.setVolume() to mute/unmute all sound FX in my app. When the user clicks a sound selector switch, the app calls audio.setVolume(0) and audio.setVolume(1) to toggle between mute/ unmute.
This sort of works, except that after you set the volume to 0, sounds can still be triggered via audio.play() for a few more seconds,
Did anyone else encounter this problem and if so, how did you work around it? [import]uid: 33608 topic_id: 26418 reply_id: 326418[/import]
[import]uid: 52491 topic_id: 26418 reply_id: 107366[/import]