• 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 currentTime latency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AVAudioPlayer currentTime latency


  • Subject: AVAudioPlayer currentTime latency
  • From: Darren Gibbs <email@hidden>
  • Date: Wed, 08 Jun 2011 09:31:50 -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,

Darren _______________________________________________
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: [OFF-TOPIC] Copyright question
  • Next by Date: Re: Some Really Basic Questions.
  • Previous by thread: Re: Some Really Basic Questions.
  • Next by thread: where to go for documentation on new audio units in iOS 5?
  • Index(es):
    • Date
    • Thread