Cocoa IN AudioUnit
Cocoa IN AudioUnit
- Subject: Cocoa IN AudioUnit
- From: "Jeremy Jurksztowicz" <email@hidden>
- Date: Wed, 11 May 2005 17:30:21 +0000
Hello,
I have had some problems using Cocoa with my audio unit. The unit itself holds a void* reference to a Cocoa class which is retreived by the cocoa UI layer via a private property kMyUnitProperty_CocoaImplementation. Now everything compiles properly and I installed the component in ~/Library/Audio/PlugIns/Components (or whatever), and it shows up fine after reboot. Now the weird thing is, I have a stand alone version of my plug-in running as a cocoa app, after installing the AU this no longer works in any conventional way. It crashed for strange unknown reasons, It can't find category methods (sometimes) and overall behaves unpredictably. After removing my AU from the component folder and rebooting (relogining), the app runs fine again. Now I wonder what I am missing here? Does cocoa work ok with Audiounits? The unit itself has to call some cocoa code (via a separated C++ interface with Obj-C++ implementation), and thus is linked to Cocoa. I heard that NSApplicationLoad() is required somewhere in the component. If so, where? Otherwise, what gives? Thank you so much for any help, this problem has given me a few gray hairs in a short amount of time.
Jeremy J
_______________________________________________
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