• 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
Odd iPhone app quit on AVAudioPlayer -setCurrentTime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd iPhone app quit on AVAudioPlayer -setCurrentTime


  • Subject: Odd iPhone app quit on AVAudioPlayer -setCurrentTime
  • From: uɐıʇəqɐz pnoqɥɒɯ <email@hidden>
  • Date: Tue, 27 Apr 2010 01:37:17 -0700

Hi all.  I am having an odd quit at random times, when I call AVAudioPlayer's -setCurrentTime.  I get no errors in the console.

I have some debugging args already set:

2010-04-26 21:44:07.480 ClefTunes[2214:207] NSZombieEnabled enabled!
2010-04-26 21:44:07.491 ClefTunes[2214:207] NSAutoreleaseFreedObjectCheckEnabled enabled!
2010-04-26 21:44:07.495 ClefTunes[2214:207] NSDebugEnabled enabled!
2010-04-26 21:44:07.501 ClefTunes[2214:207] NSHangOnUncaughtException enabled!

But my app just quits and I get no log messages anywhere.  Anyone have any thoughts on how I could do a little more sanity checking on the AVAudioPlayer object or any other debugging tips?

My app quits right between the following:

	NSLog(@"set volume %@, retain count is %d", noteSound, [noteSound retainCount]);
	noteSound.currentTime = 0;
	NSLog(@"done with setting currentTime %@, retain count is %d",noteSound, [noteSound retainCount]);

retainCount shows as 1.

This happens about once out of every fifty or more times I go through this code.

Thanks!

-mahboud _______________________________________________
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

  • Prev by Date: Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
  • Next by Date: Re: RemoteIO callback buffer length wonky on iphone
  • Previous by thread: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • Next by thread: How to pass the UI's parameter change to the synthesizer kernel
  • Index(es):
    • Date
    • Thread