Odd iPhone app quit on AVAudioPlayer -setCurrentTime
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