Re: AVAudioplayer is skipping -- sounds like a cd skipping
Re: AVAudioplayer is skipping -- sounds like a cd skipping
- Subject: Re: AVAudioplayer is skipping -- sounds like a cd skipping
- From: Luke the Hiesterman <email@hidden>
- Date: Mon, 13 Jul 2009 15:59:36 -0700
Please file a bug. Attach a sample app with your audio.
Thanks,
Luke
On Jul 13, 2009, at 3:54 PM, Miles wrote:
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
_______________________________________________
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