• 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: Audio stuttering under CPU load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio stuttering under CPU load


  • Subject: Re: Audio stuttering under CPU load
  • From: "Ross Bencina" <email@hidden>
  • Date: Wed, 10 Feb 2010 16:11:30 +1100

Bertrand, Pierre-Luc wrote:
Now I only lock to signal the processing thread to start processing a
chunk of 800ms.

I'm not saying it's your problem in this case, but I'd avoid locking it at all. Sooner or later you'll get bitten.



[snip]
2010-02-09 15:56:03.916 TTS[2042:5603] Timing 0: 44.427036
2010-02-09 15:56:03.924 TTS[2042:5603] Timing 1: 8.080006
2010-02-09 15:56:03.930 TTS[2042:5603] Timing 2: 0.420988

You might find that the scheduler has disabled real-time priority on the io thread if you violate deadlines like that at startup. Try moving your startup code outside the IOProc .


Ross.

_______________________________________________
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: Audio stuttering under CPU load
      • From: "Bertrand, Pierre-Luc" <email@hidden>
References: 
 >Audio stuttering under CPU load (From: "Bertrand, Pierre-Luc" <email@hidden>)
 >Re: Audio stuttering under CPU load (From: Doug Wyatt <email@hidden>)
 >RE: Audio stuttering under CPU load (From: "Bertrand, Pierre-Luc" <email@hidden>)

  • Prev by Date: Re: AU hosting and AU life cycle management
  • Next by Date: Re: Outputting multichannel sound through the optical link??
  • Previous by thread: Re: Audio stuttering under CPU load
  • Next by thread: RE: Audio stuttering under CPU load
  • Index(es):
    • Date
    • Thread