Re: Find out all IOProcs attached to an Audio device in a Process
Re: Find out all IOProcs attached to an Audio device in a Process
- Subject: Re: Find out all IOProcs attached to an Audio device in a Process
- From: Simon Liu <email@hidden>
- Date: Fri, 15 Oct 2004 11:40:34 +0100
Thanks Bill & Jeff.
> First off, there's no way for AUHAL to give access to the audio from
> other processes. It is, like all things CoreAudio, a user-space entity
> that has no access to the data in other processes.
Yes. You are correct. My choice of wording was bad and inferred that
a AUHAL could access audio from another process. What I was trying to
describe was the fact that using a AUHAL, I can listen to all audio
being output through a device. This audio is everything that the
kernel is mixing and outputting across all processes.
> Finally, because you are involving many disparate APIs to generate your
> sound, there isn't going to be a general way for you to lasso all the
> audio coming out of your process unless you put the hooks into your
> code yourself to do it. The only place where the data
> being output from all of these disparate APIs is being mixed is in the
> kernel.
Ok, this makes sense. I just thought that everything went through the
CoreAudio and HAL layers and that before the kernel mixes audio
together from each process, the audio from each process would be
staged somewhere. From what you say, what actually happens is that
each API just passes off the audio to the kernel, destined for
whatever device.
Thanks.
Simon
_______________________________________________
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