Having two problems with AVAudioPlayer
Having two problems with AVAudioPlayer
- Subject: Having two problems with AVAudioPlayer
- From: slugolicious <email@hidden>
- Date: Fri, 27 Feb 2009 15:00:35 -0800 (PST)
I posted this in another forum (non-apple supported) but wanted to ask on coreaudio-api too because this is where I found the announcement for AVAudioPlayer to begin with.
1. When audioPlayerBeginInterruption() is called, the currentTime doesn't seem to be accurate. It's about 5 seconds later than when the player stopped. Prior to resuming (after audioPlayerEndInterruption()), the player still shows the lost time but after calling [player play] it recovers those lost seconds.
See http://www.iphonedevforums.com/forum/iphone-sdk-development/749-time-flies-when-youre-playing-avaudioplayer.html
2. After an audioPlayerBeginInterruption()/audioPlayerEndInterruption() sequence, [player play] returns an error. Is there any way to diagnose that error? It's just a YES/NO and no indication why the player won't start back up.
See http://www.iphonedevforums.com/forum/iphone-sdk-development/750-avaudioplayer-doesnt-start-back-up-after-interruption.html
_______________________________________________
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