¡@

Home 

2014/10/15 ¤U¤È 10:11:45

iphone Programming Glossary: myexamplesound

Delay in playing sounds using AVAudioPlayer

http://stackoverflow.com/questions/2550480/delay-in-playing-sounds-using-avaudioplayer

in playing sounds using AVAudioPlayer IBAction playSound AVAudioPlayer myExampleSound NSString myExamplePath NSBundle mainBundle pathForResource @ myaudiofile ofType @ caf myExampleSound AVAudioPlayer alloc.. AVAudioPlayer myExampleSound NSString myExamplePath NSBundle mainBundle pathForResource @ myaudiofile ofType @ caf myExampleSound AVAudioPlayer alloc initWithContentsOfURL NSURL fileURLWithPath myExamplePath error NULL myExampleSound.delegate self myExampleSound.. ofType @ caf myExampleSound AVAudioPlayer alloc initWithContentsOfURL NSURL fileURLWithPath myExamplePath error NULL myExampleSound.delegate self myExampleSound play I want to play a beep sound when a button is clicked. I had used the above code. But it..