Re: Communicating between an audiounit and cocoa view?
Re: Communicating between an audiounit and cocoa view?
- Subject: Re: Communicating between an audiounit and cocoa view?
- From: Marc Poirier <email@hidden>
- Date: Sun, 1 Feb 2004 14:27:02 -0600 (CST)
For what it's worth, there's some info about doing this sort of stuff with
custom properties that a few of us wrote at the CoreAudio swiki:
http://www.mat.ucsb.edu:8000/CoreAudio
which appears to be down right now, so I can't give you the direct link to
the article.
Marc
On Fri, 23 Jan 2004, Andrew McClure wrote:
>
Hi. I am doing an audiounit plugin based on the SampleAU effect sample code
>
that comes with the panther dev tools. However, I have a slight problem. I
>
need for the cocoa view and the audiounit to share a buffer, and other than
>
parameters there does not seem to be any way to communicate between the
>
cocoa view and the audiounit.
>
>
I was wondering if there was any way to somehow get a pointer to the view
>
object from the audiounit or vice versa. I notice that both the audiounit
>
and the view have an AudioUnit type variable (this is apparently the same
>
thing as whatever a "ComponentInstance" is?) and it is looking like I
>
somehow just need to pass the pointer through the intermediary of the
>
Component Manager. Is there any easier way, and is there some specific thing
>
I should be looking at to figure out how to do this? I have never used the
>
component manager before.
>
>
Should I just start drudging through the component Inside Macintosh? :)
_______________________________________________
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.