Re: hiccups in AUGraph
Re: hiccups in AUGraph
- Subject: Re: hiccups in AUGraph
- From: James McCartney <email@hidden>
- Date: Wed, 20 Oct 2010 09:12:17 -0700
On Oct 20, 2010, at 7:04 AM, Sanoj Nambi wrote:
> Hi All,
>
> I had a question on AUgraph. I am mixing 29 sounds using the multichannel mixer and it works well. However the mixed stream of music tends to hiccup (induce a crackling noise and then resume smoothly) at times.
> Any possible reasons for this behavior ?
possible reasons:
you are simply doing too much work on the IO Proc and overloading the CPU, causing it to miss its deadline.
you are doing some operation that blocks on the IO Proc thread such as allocating memory, reading from a file, or in some other way locking a mutex.
some other activity on the system is paging out your memory or code.
you have code or memory that was paged out before you started. To fix this, you could exercise all code and buffers before you start up real time operation.
you have used calloc to allocate zeroed buffers. calloc causes memory to be zeroed lazily upon first access, and is not recommended for audio buffers.
....
where do these 29 sounds come from? file player? memory? synthesized? decoding from memory?
_______________________________________________
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