• 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: 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

  • Follow-Ups:
    • Re: hiccups in AUGraph
      • From: Gregory Wieber <email@hidden>
References: 
 >hiccups in AUGraph (From: Sanoj Nambi <email@hidden>)

  • Prev by Date: MultiChannel Mixer on Snow Leopard, no errors but no sound
  • Next by Date: Re: Why is CoreAudio C++ not Objective-C?
  • Previous by thread: hiccups in AUGraph
  • Next by thread: Re: hiccups in AUGraph
  • Index(es):
    • Date
    • Thread