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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to