[iOS]AVAudioPlayer currentTime latency
[iOS]AVAudioPlayer currentTime latency
- Subject: [iOS]AVAudioPlayer currentTime latency
- From: Darren Gibbs <email@hidden>
- Date: Fri, 10 Jun 2011 15:50:52 -0700
I'm building an iPad app that needs to scrub a sound file using touch events. I thought I could get away with using AVAudioPlayer by setting the minimum supported buffer size, using uncompressed audio, and setting the player.currentTime property in response to touchesMoved. I hacked this into the avTouch example to test, and if I move my finger very very slowly, it does what I want... but if I move more quickly, I get silence until I slow down or stop the touch gesture. Is there some other setting I can change that would allow the AVAudioPlayer to respond more quickly to changes in currentTime, or will I have to go to the Audio Queue API?
Thanks for any advice.
_______________________________________________
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