• 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: can multiple audio units be put in a single bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can multiple audio units be put in a single bundle?


  • Subject: Re: can multiple audio units be put in a single bundle?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 15 Jun 2015 23:40:25 -0700


On Jun 15, 2015, at 9:53 PM, Taylor Holliday <email@hidden> wrote:

Is there a way I could include both AUs in a single bundle?

You’d have to rename that class in one of the bundles. Objective-C doesn’t allow two classes with the same name to be loaded in the same process.

Usually the easiest way to do this without having to edit a bunch of source code is to use the preprocessor, e.g. in one of the targets use a prefix header that contains
#define AUViewListener AUViewListenerForInstrument

—Jens
 _______________________________________________
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: can multiple audio units be put in a single bundle?
      • From: Taylor Holliday <email@hidden>
References: 
 >can multiple audio units be put in a single bundle? (From: Taylor Holliday <email@hidden>)

  • Prev by Date: can multiple audio units be put in a single bundle?
  • Next by Date: Re: can multiple audio units be put in a single bundle?
  • Previous by thread: can multiple audio units be put in a single bundle?
  • Next by thread: Re: can multiple audio units be put in a single bundle?
  • Index(es):
    • Date
    • Thread