• 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: Reliably finding the binary for an audio unit from a host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reliably finding the binary for an audio unit from a host


  • Subject: Re: Reliably finding the binary for an audio unit from a host
  • From: tahome izwah <email@hidden>
  • Date: Sat, 09 Jul 2011 10:45:49 +0200

That's quite easy, actually.

Check out -showCocoaViewForAU in CAUHWindowController.m that comes
with the CocoaAUHost project. It shows you how to get the view factory
and the path to the bundle:

        AudioUnitCocoaViewInfo *cocoaViewInfo =
(AudioUnitCocoaViewInfo *)malloc(dataSize);
        if(AudioUnitGetProperty(		inAU,
                                        kAudioUnitProperty_CocoaUI,
                                        kAudioUnitScope_Global,
                                        0,
                                        cocoaViewInfo,
                                        &dataSize) == noErr) {
                 NSURL 	 *CocoaViewBundlePath	=
(NSURL*)cocoaViewInfo->mCocoaAUViewBundleLocation;
        }

HTH
--th

2011/7/7 Stefan Gretscher <email@hidden>:
> Am 07.07.2011 um 08:59 schrieb tahome izwah:
>> - (NSString *)bundlePath gets you the path to the bundle, once you have identified it.
> Sure, but the question actually is how do I identify it in first place?
>
> -Stefan
 _______________________________________________
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: Reliably finding the binary for an audio unit from a host
      • From: Stefan Gretscher <email@hidden>
References: 
 >Reliably finding the binary for an audio unit from a host (From: Stefan Gretscher <email@hidden>)
 >Re: Reliably finding the binary for an audio unit from a host (From: tahome izwah <email@hidden>)
 >Re: Reliably finding the binary for an audio unit from a host (From: Stefan Gretscher <email@hidden>)

  • Prev by Date: AU Lab not responding
  • Next by Date: Re: AU Lab not responding
  • Previous by thread: Re: Reliably finding the binary for an audio unit from a host
  • Next by thread: Re: Reliably finding the binary for an audio unit from a host
  • Index(es):
    • Date
    • Thread