AVAudioplayer is skipping -- sounds like a cd skipping
AVAudioplayer is skipping -- sounds like a cd skipping
- Subject: AVAudioplayer is skipping -- sounds like a cd skipping
- From: Miles <email@hidden>
- Date: Mon, 13 Jul 2009 15:54:46 -0700
I'm using this basic code to play a sound and it frequently skips at the
end, sounded like a cd skipping. I'm playing .caf files at 22500 Hz.
Does anyone any experience with this?
Thanks!
int soundNum = arc4random() % [soundsArray count];
AVAudioPlayer *sound = [soundsArray objectAtIndex:soundNum];
[currentSound stop];
currentSound = nil;
currentSound = sound;
[currentSound setCurrentTime:0.0];
[currentSound play];
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden