Re: AUGraph and DP macs
Re: AUGraph and DP macs
- Subject: Re: AUGraph and DP macs
- From: David Duncan <email@hidden>
- Date: Thu, 31 Jul 2003 11:30:02 -0400
Only if you pull from multiple threads yourself. I only meant to imply
that an AUGraph typically renders on a single thread that is typically
the IO Thread. However, if you run the AUGraph yourself, you are free
to run it on multiple threads (sync issues aside) and thus take
advantage of multiple CPUs.
Running an AUGraph across multiple CPUs evenly is a non-trivial task
for an arbitrary graph. But if you have a known graph that can be
broken up (say at a mixer AU) then you could run sub-graphs in separate
threads and rendezvous them. You can also overlap processing by running
two different audio slices on the same AUGraph but you may run into
serialization issues with your audio sources.
On Thursday, July 31, 2003, at 11:23 AM, Glenn Olander wrote:
That seems to imply that if I pull the audio out myself, then
AUGraph _will_ distribute across CPUs. Is that right?
- Glenn
David Duncan wrote:
On Wednesday, July 30, 2003, at 11:14 PM, Glenn Olander wrote:
Is AUGraph multiprocessor savvy? In other words, is it smart enough
to distribute the nodes (and therefore its processing load)
across multiple cpu's?
Unless you pull audio from it yourself, an AUGraph renders on the
CoreAudio IOThread, and since that thread can only run on one CPU at
a time, an AUGraph will not normally distribute across CPUs.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.