• 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
Re: hiccups in AUGraph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hiccups in AUGraph


  • Subject: Re: hiccups in AUGraph
  • From: William Stewart <email@hidden>
  • Date: Thu, 21 Oct 2010 17:05:36 -0700

On Oct 20, 2010, at 10:10 AM, Gregory Wieber wrote:

> If you overload the CPU during an IO Proc,  would that cause app crashes?  I thought if anything,  attempting to do to much processing would cause pops, clicks, missed callbacks,  but I'm getting some crashes occasionally and I haven't isolated the issue yet.  (I'm using performance tools to test for the obvious like leaks, etc).
>
> I've probably more optimization left to do;  tried to make sure every variable is a pointer, tried minimizing conditionals,  etc...  When you say allocating memory is bad,  do you mean at all?

Yes, at all.

You should not be allocating any memory (or free'ing memory) on the i/o thread.

> Is it important enough that I should dig through my render callbacks and make sure absolutely every last variable is a pointer and not created during the callback?

yes

>
> _______________________________________________
> 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

 _______________________________________________
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

References: 
 >hiccups in AUGraph (From: Sanoj Nambi <email@hidden>)
 >Re: hiccups in AUGraph (From: James McCartney <email@hidden>)
 >Re: hiccups in AUGraph (From: Gregory Wieber <email@hidden>)

  • Prev by Date: Re: When to stop/start/reinitialize an AUGraph?
  • Next by Date: Re: Forcing "Live" mode on a Logic track from Audio Unit
  • Previous by thread: Re: hiccups in AUGraph
  • Next by thread: When to stop/start/reinitialize an AUGraph?
  • Index(es):
    • Date
    • Thread