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: Patrick Gostovic <email@hidden>
- Date: Fri, 23 Jan 2004 13:17:15 -0500
Use properties instead of parameters. Properties can be pretty much
anything.
On 23-Jan-04, at 12:21 PM, 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.
_______________________________________________
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.