Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
I used the below code for play and pause audio


Code:
-(void) play
{
AudioServicesPlaySystemSound(clappingFileID);
}

//It will be called when pause button click
-(void) pause
{ 
AudioServicesDisposeSystemSoundID (clappingFileID);
}

I want to pause the audio when its playing.
My problem is the pause method is called after playing the full audio.Even though i pressed the pause button while the audio is playing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.