• 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
Long delay in AUGraphStart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Long delay in AUGraphStart


  • Subject: Long delay in AUGraphStart
  • From: Guy Shaviv <email@hidden>
  • Date: Sat, 10 Jul 2010 14:44:58 +0300

Hi,

I'm experiencing a 1.875 second delay between calling AUGraphStart and starting to hear music. I'm wondering if this is normal to have such a long delay (a bug/feature) or if there is anything to be done about it? I'm seeing this both on the ipad and the simulator.

My AUGraph consists of a remoteIO unit and an equalizer unit. The equalizer is set a render input callback to feed it data. Everything is using the canonical AU stream format (the 8.24 one, non interleaved).

To measure the delay, I created a dummy function called marker that does nothing. I call marker() the line before calling AUGraphStart and I call it again first line in my render input callback. In instruments I used dtrace to see the time between the two calls which shows the time as 1.875 sec. During this time the processor is mostly idle, 75% of the time in mach_msg_trap being called from AURemoteIO::IOThread::Entry().

Any ideas why this is happening or how to get rid of this very long delay are appreciated. _______________________________________________
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

  • Follow-Ups:
    • Re: Long delay in AUGraphStart
      • From: Aran Mulholland <email@hidden>
  • Prev by Date: Re: long double data type
  • Next by Date: Re: Long delay in AUGraphStart
  • Previous by thread: Re: long double data type
  • Next by thread: Re: Long delay in AUGraphStart
  • Index(es):
    • Date
    • Thread