• 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
Cocoa IN AudioUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Cocoa IN AudioUnit
      • From: Michael Hopkins <email@hidden>
  • Prev by Date: Re: Render callback disappearing (QT 7.0)
  • Next by Date: AAC/ATDS file type?
  • Previous by thread: Re: Writing m4a problems
  • Next by thread: Re: Cocoa IN AudioUnit
  • Index(es):
    • Date
    • Thread