Simple way to turn audio off?

Posts: 65
Joined: 2009.01
Post: #1
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
              [opponentScoreSound play];
but is there a more elegant way to just shut the audio off?
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Turn into night like Tiny Wings jncunha 1 4,916 Jun 14, 2012 09:56 AM
Last Post: Skorche
  Core Audio mutlichannel audio tachyon 2 8,326 Mar 18, 2005 01:04 AM
Last Post: tachyon
  Turn a Quad into particles MACnus 10 9,731 Feb 6, 2005 09:10 AM
Last Post: Duane