Re: hiccups in AUGraph
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