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

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


  • Subject: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View
  • From: Bob Aron <email@hidden>
  • Date: Tue, 8 Dec 2009 11:10:24 -0800

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

  • Follow-Ups:
    • Re: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View
      • From: tahome izwah <email@hidden>
  • Prev by Date: Re: Drawtest VSTGUI/AU example
  • Next by Date: Re: Drawtest VSTGUI/AU example
  • Previous by thread: Re: AUGraph recording iPhone
  • Next by thread: Re: AU Template Issues on Leopard: Audio Unit Effect with Cocoa View
  • Index(es):
    • Date
    • Thread