Re: Audio unit hosting
Re: Audio unit hosting
- Subject: Re: Audio unit hosting
- From: tahome izwah <email@hidden>
- Date: Thu, 19 Feb 2009 18:20:54 +0100
There is an example project for an AU host at
/Developer/Examples/CoreAudio/Services/CocoaAUHost that might help you
get started.
HTH
--th
2009/2/19 James Membrez <email@hidden>:
> I am a neophyte at working with audio units, so please forgive me if I am
> asking questions the answers to which seem obvious to others.
> I want to provide a midi sequencer application I am working on with the
> capability to host audio units. I have studied the audio unit documentation
> (including Tech Note 2104), the examples in the audio unit SDK and the
> appropriate header files. At this point, I have been successful at writing
> code to find an appropriate component (in this case, a music device), set up
> an AUGraph with the music device and an output unit, open a view window, and
> install an AU event listener. The problem is this: none of the controls in
> the view window will respond to user input, with an occasional exception for
> popup menus (such as the one in the DLS audio unit that allows one to select
> a source for instruments). The only mention of a similar problem that I
> found on this mailing list is from a short thread in 2003. My understanding
> is that the audio unit view handles all of its own events. So what step am I
> missing?
> A related question: when using the function AUEventListenerAddEventType,
> does the "inObject" parameter represent the object that generated the event?
> If so, is it always necessary to specify such an object or would that depend
> on the host program's needs? Would using the "ControlRef" returned by the
> AUEventListenerCreate function be appropriate here as the "inObject"
> parameter? Or is that parameter the object in the host app that is
> interested in knowing about a particular event? The documentation I have
> seen on this point seems ambivalent to me.
> Thank you in advance for your assistance.
> James
_______________________________________________
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