• 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: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View


  • Subject: Re: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View
  • From: tahome izwah <email@hidden>
  • Date: Tue, 8 Dec 2009 20:37:31 +0100

You could also install Stephan Bernsee's modified AU template which
works just fine:

http://stephan.bernsee.com/BetterCocoaAU.zip

Since the Apple AU templates have a long history of being broken every
now and then I have chosen to use the modified template and I lived
happily ever after :-)

--th

2009/12/8 Bob Aron <email@hidden>:
> CA List,
> A few weeks ago there was some confusion over AU Template issues that were
> being seen. The issue regarding an Audio Unit Effect Cocoa View not being
> displayed is a Leopard ONLY issue, and occurs when building the Release
> build style.
> A tech note will be posted shortly on this topic but I wanted to give a
> heads up on how you can work around this issue:
> - Fix for projects created with the Audio Unit Effect with Cocoa View
> template:
> 1. Get info (cmd+i) on the CocoaUI target in the project
> 2. Select all configurations, and set the Product Name to {your project
> name}_CocoaViewFactory (e.g. MyAudioUnit_CocoaViewFactory)
> 3. In the main view cpp file (e.g. Source/AUSource/MyAudioUnit.cpp)
> - Change the instances of the "CocoaViewFactory" string to the new product
> name (MyAudioUnit_CocoaViewFactory)
> - This should occur in two places in the GetProperty() method
> 4. In the Info.plist file, change the string for the CFBundleIdentifier key
> from 'com.apple.audiounit.{your project name}' to 'com.Demo.audiounit.{your
> project name}'
>
> - To fix the template itself, apply these changes to the template
> project. The template project will be located
> in  /Developer/Library/Xcode/Project\ Templates/Audio Units/Audio Unit
> Effect with Cocoa View
> 1. Get info (cmd+i) on the CocoaUI target in the project
> 2. Select all configurations, and set the Product Name
> to «ORGANIZATIONNAME»«PROJECTNAMEASIDENTIFIER»_CocoaViewFactory
> 3. In the main view cpp file (e.g. Source/AUSource/StarterAU.cpp)
> - Change the instances of the "CocoaViewFactory" string to
> t«ORGANIZATIONNAME»«PROJECTNAMEASIDENTIFIER»_CocoaViewFactory
> - This should occur in two places in the GetProperty() method
> 4. In the Info.plist file, change the string for the CFBundleIdentifier key
> from 'com.apple.audiounit.«PROJECTNAMEASIDENTIFIER»' to
> 'com.Demo.audiounit.«PROJECTNAMEASIDENTIFIER»'
> Note: For some older versions of Xcode the template may be located
> in /Library/Application
> Support/Developer/Shared/Xcode/ProjectTemplates/Audio Units/Audio Unit
> Effect with Cocoa View
> Hope this clarifies this issue.
> Bob Aron
> ____________________________________________
> CoreAudio Team • Apple Inc.
> email@hidden
 _______________________________________________
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

References: 
 >AU Template Issues on Leopard: Audio Unit Effect with Cocoa View (From: Bob Aron <email@hidden>)

  • Prev by Date: Re: Drawtest VSTGUI/AU example
  • Next by Date: Re: Drawtest VSTGUI/AU example
  • Previous by thread: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View
  • Next by thread: CallHostTransportState and Logic Pro
  • Index(es):
    • Date
    • Thread