Re: audiounit instrument with cocoa view (ben kamen)
Re: audiounit instrument with cocoa view (ben kamen)
- Subject: Re: audiounit instrument with cocoa view (ben kamen)
- From: "herve.noury" <email@hidden>
- Date: Sun, 19 Jun 2011 19:44:47 +0200
I've got the same problems than Ben.
I tried to do an equivalent of all classes encountered in "FilterDemo" example or "Sonogram View Demo" in a AudioUnitIntrumentBase.
When I imported the header of the cpp synth in the NSView folder, some cpp classes as <vector> where not found by the compiler. So I transformed the .m of the NSView to a .mm folder to integrate C++ to Cocoa. Then the copy of the enum declaration (this where you declare the parameters for the constructor) was not accepted in the NSView .h folder : normal, this a dual declaration of the same values. But if I do not declare the parameters, only the default view appears in AULab or GaragaBand, and never the Cocoa view.
I spent the week to try to find a solution without success!!
Does the Stephan Bernsee solution works with XCode4?? I am afraid to change like this the native folders of XCode!!
_______________________________________________
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