• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AVAudioPlayer crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AVAudioPlayer crash
      • From: Hamish Allan <email@hidden>
  • Prev by Date: How to make Audio Unit chain in iPhone?
  • Next by Date: Re: AVAudioPlayer crash
  • Previous by thread: Re: How to make Audio Unit chain in iPhone?
  • Next by thread: Re: AVAudioPlayer crash
  • Index(es):
    • Date
    • Thread