Re: AUGraph and DP macs
Re: AUGraph and DP macs
- Subject: Re: AUGraph and DP macs
- From: Glenn Olander <email@hidden>
- Date: Thu, 31 Jul 2003 09:06:11 -0700
Well, yeah...but I was asking does AUGraph perform
multi-threading in order to spread the processing load?
AUGraph certainly could evaluate it's graph and find opporunities
for parallelism. My question is: does it do that?
Dave, your answer sounds like an authoritative "no". But it
isn't clear from your reply if you know for certain, or are
speculating? (Not doubting you, just asking for clarification).
Thanks.
- Glenn
Robert Grant wrote:
This isn't following my sense of how multi-processing works. A single
thread cannot load balance. To get distribution of the audio processing
you'd have to create multiple threads that can operate in parallel (a
good place might be on the connections to a mixer) and have the
rendering for the input nodes done in separate threads then synchronize
the rendered buffers during the mixing process.
Am I mistaken?
Robert.
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.
_______________________________________________
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.