• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: audiounit instrument with cocoa view (ben kamen)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: audiounit instrument with cocoa view (ben kamen)
      • From: Stephen Blinkhorn <email@hidden>
  • Prev by Date: Re: MIDI In OK, No MIDI Out
  • Next by Date: Re: audiounit instrument with cocoa view
  • Previous by thread: Re: MIDI In OK, No MIDI Out
  • Next by thread: Re: audiounit instrument with cocoa view (ben kamen)
  • Index(es):
    • Date
    • Thread