AVAudioPlayer crash
AVAudioPlayer crash
- Subject: AVAudioPlayer crash
- From: email@hidden
- Date: Thu, 19 Feb 2009 10:50:47 -0500 (GMT-05:00)
The following code sequence crashes with a "[NSObject doesNotRecognizeSelector]" message.
NSString *path = [[NSBundle mainBundle] pathForResource:@"chainsa" ofType:@"caf"];
NSURL *chainSawURL = [NSURL fileURLWithPath:path];
_avChainSawSound = [[AVAudioPlayer alloc] initWithContentsOfURL:chainSawURL];
Any clues why? Or is AVAudioPlayer not the proper way to do this?
->Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden