• 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: AudioUnit of the uncommon path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnit of the uncommon path


  • Subject: Re: AudioUnit of the uncommon path
  • From: kelly jacklin <email@hidden>
  • Date: Thu, 7 Jul 2005 05:57:06 -0700

On Jul 7, 2005, at 1:53 AM, Hae-seong, Zo wrote:

How can I locate an AU with the path of the bundle, without type,subtype,manufacture,etc.
Is there any way for loading an AudioUnit component that is in the arbitrary path?
I mean, I want to load an AU that is NOT in the follow specific paths :

/Library/Audio/Plug-in/Components/
/Users/Yourname/Library/Audio/Plug-in/Components/

You can use RegisterComponentFileRef to cause the components (AudioUnits) from an arbitrary bundle to be registered within the current process, for example:

    FSRef     ref;
    OSStatus  status;
    Boolean   ignore;
    status = FSPathMakeRef("/Application/Foo.app/Contents/Resources/MyAudioUnits.component", &ref, &ignore);
    if (status == noErr) {
        status = RegisterComponentFileRef(&ref, FALSE);
        // ...
    }

You then use FindNextComponent to actually locate the components you just registered.

kelly

 _______________________________________________
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: 
 >AudioUnit of the uncommon path (From: "Hae-seong, Zo" <email@hidden>)

  • Prev by Date: java coremidi property advice needed
  • Next by Date: Re: AU->View communication
  • Previous by thread: AudioUnit of the uncommon path
  • Next by thread: Can I create a "fake" HAL device to receive samples?
  • Index(es):
    • Date
    • Thread