Im looking for a cross-platform way to disable all sounds in an application. I'm putting a simple button in a settings menu, so the user can mute the whole app. Initially, I was just using this to toggle the volume of channel #1 between 0 and 100. I noticed however that this does not seem to work on the iphone.
Of course, I could set some internal variable, and then use this in my conditions to decide whether to play a sound, but this causes a lot of conditions to be duplicated in my events editor.
Should I be using the pause samples option instead? Will this work on all platforms?