• 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: Paul Davis <email@hidden>
  • Date: Tue, 9 Feb 2010 17:44:31 -0500

On Tue, Feb 9, 2010 at 4:07 PM, Bertrand, Pierre-Luc
<email@hidden> wrote:
> Hi,
>
> Thanks for the reply. I considered your proposal and modified my locking
> mechanism.
>
> Now I only lock to signal the processing thread to start processing a
> chunk of 800ms. I use a queue that does not lock but rather base its
> concurrency correctness on the atomicity of integer++.

integer arithmetic is atomic on x86 but it is not guaranteed to be
ordered the way you expect without the use of explicit memory
barriers.
 _______________________________________________
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: Audio stuttering under CPU load
  • Next by Date: RE: Audio stuttering under CPU load
  • Previous by thread: RE: Audio stuttering under CPU load
  • Next by thread: RE: Audio stuttering under CPU load
  • Index(es):
    • Date
    • Thread