Simple way to turn audio off?
I want to have an "Audio Off" switch in my game's settings. The game only has brief sound effects, and I am using Apple's SoundEffect class to play them.
I know I can do something like this for each of the sound effects
but is there a more elegant way to just shut the audio off?
I know I can do something like this for each of the sound effects
Code:
if(appDelegate.soundOn)
[opponentScoreSound play];
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Turn into night like Tiny Wings | jncunha | 1 | 2,387 |
Jun 14, 2012 09:56 AM Last Post: Skorche |
|
| Core Audio mutlichannel audio | tachyon | 2 | 5,372 |
Mar 18, 2005 01:04 AM Last Post: tachyon |
|
| Turn a Quad into particles | MACnus | 10 | 5,928 |
Feb 6, 2005 09:10 AM Last Post: Duane |
|

