• 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
what should a host do when ....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what should a host do when ....


  • Subject: what should a host do when ....
  • From: Paul Davis <email@hidden>
  • Date: Fri, 08 Apr 2011 16:10:58 -0400

here's the code ardour (and mixbus) use to begin the process of
creating a cocoa view for an AU plugin:

		if(AudioUnitGetProperty(*au->get_au(),
					kAudioUnitProperty_CocoaUI,
					kAudioUnitScope_Global,
					0,
					cocoaViewInfo,
					&dataSize) == noErr) {

			CocoaViewBundlePath	= (NSURL *)cocoaViewInfo->mCocoaAUViewBundleLocation;

			// we only take the first view in this example.
			factoryClassName	= (NSString *)cocoaViewInfo->mCocoaAUViewClass[0];

we recently came across a plugin which claims to have a Cocoa UI (i.e.
GetPropertyInfo indicated that kAudioUnitProperty_CocoaUI was non-zero
in size) but unlike every other plugin we've encountered so far, it
returns a null factory class name.

i've modified the code to fallback on the carbon GUI which is also
provided, but is it really possible for the factory class name to be
somewhere other than mCocoaAUViewClass[0] ?

--p
 _______________________________________________
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: what should a host do when ....
      • From: Michael Hopkins <email@hidden>
  • Prev by Date: Re: AU Threading Question
  • Next by Date: Re: AU Threading Question
  • Previous by thread: Re: Guardmalloc breaks after AudioQueueDispose
  • Next by thread: Re: what should a host do when ....
  • Index(es):
    • Date
    • Thread