• 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: MP Threads & Core Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MP Threads & Core Audio


  • Subject: Re: MP Threads & Core Audio
  • From: kelly jacklin <email@hidden>
  • Date: Thu, 9 Aug 2007 14:24:56 -0700

On Aug 9, 2007, at 2:10 PM, Herbie Robinson wrote:

You see, I've inherited a body of code, mostly working, that uses the MP API & wouldn't feel right doing a total rewrite without asking. Thanks very much in advance.

It depends on what you are trying to do. The above conversation is about real-time threads (the I/O callbacks for Core Audio are on real-time threads). If you aren't working with those callbacks and don't need real-time, they you don't need to change anything.

Very, very good point!

To be clear, my original comments about the desire to avoid the MP API were in conjunction with its use in the context of an IOProc (and thus on a realtime thread). In the original context, I did not say "you really do not want to use the MP API (period)", but rather "you really do not want to use the MP API _for this_" (emphasis mine), where the "this" was specifically the use of an MPQueue on the IOProc, and more generally the use of MP API synchronization constructs in realtime contexts.

Thanks for pointing out this important clarification!

kelly

_______________________________________________
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


References: 
 >MP Threads & Core Audio (From: Bob Stuller <email@hidden>)
 >Re: MP Threads & Core Audio (From: Herbie Robinson <email@hidden>)

  • Prev by Date: Re: MP Threads & Core Audio
  • Next by Date: Re: Greyed out/duplicated MIDI devices in Audio/MIDI setup?
  • Previous by thread: Re: MP Threads & Core Audio
  • Next by thread: RS: Is there a short introduction to the Core Audio API?
  • Index(es):
    • Date
    • Thread