Re: MusicDevice with a different approach
Re: MusicDevice with a different approach
- Subject: Re: MusicDevice with a different approach
- From: "Mark's Studio" <email@hidden>
- Date: Tue, 18 Nov 2003 09:58:27 +0100
On 18/11-2003, at 9:05, Pavol Markovic wrote:
>
On Nov 17, 2003, at 10:40 PM, Mark's Studio wrote:
>
>
> I think it's kind of a Cocoa app running inside a AudioUnit,
>
> i has no generic interface, it has a nib based carbonview with a
>
> button
>
> to show the Cocoa window.
>
>
>
> It's in a very early stage so it only handles note on/off and the
>
> render
>
>
>
> So if anyone want's to try it send me a mail, and i will mail it, it's
>
> 520k
>
>
>
> PS. only testet on 10.3, the UI has some of the new buttons.
>
>
If you insist on cocoa UI and your plugin is 10.3 only, why not create
>
an alternative cocoa view, which is descibed in specification. If host
>
supports Cocoa UI, it will use this one standard, instead of your
>
double window version. I'm sure that these two can share common code.
>
>
PM
>
_______________________________________________
>
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.
>
>
There is no hosts that support Cocoa AFAIK ,
so this was done to see if a Carbon only host could display a Cocoa
window.
and i think this approach could work on 10.2 aswell.
NSApplicationLoad
Startup function to call when running Cocoa code from a Carbon
application.
BOOL NSApplicationLoad(void)
Discussion
If NSApplication is not already initialized, initializes it and sets up
event handlers for Cocoa. You typically call this before calling other
Cocoa code in a plug-in loaded into a primarily Carbon application. A
return value of YES indicates that NSApplication was successfully
initialized for the Carbon application.
Availability
Available in Mac OS X v10.2 and later.
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.