Communicating between an audiounit and cocoa view?
Communicating between an audiounit and cocoa view?
- Subject: Communicating between an audiounit and cocoa view?
- From: "Andrew McClure" <email@hidden>
- Date: Fri, 23 Jan 2004 12:21:41 -0500
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.