Re: MP Threads & Core Audio
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