• 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
AudioComponentRegister host AU in Graph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioComponentRegister host AU in Graph


  • Subject: AudioComponentRegister host AU in Graph
  • From: Benjamin Rindt <email@hidden>
  • Date: Fri, 16 May 2014 15:54:13 +0200

Hey guys,

I’m trying to load my own AudioUnit to my project and into my AUGraph.

The AU should not put into the Plugins folder, I have to register it dynamically.

I read after the change to AudioComponent I have to use AudioComponentRegister to do this but do not get it working.

I have put the .component file into the xCode project and made a AudioComponentDescription to pass to this method which all should be right.

    UInt32 theVersion = 0x00010000;

    

    AudioComponentDescription theDescription;
    theDescription.componentType = kAudioUnitType_Effect;
    theDescription.componentSubType = ’TEST';
    theDescription.componentManufacturer = ’TEAU';
    theDescription.componentFlagsMask = 0;

    

    CAComponent comp = AudioComponentRegister(&theDescription, CFSTR(„MYAU: My own AU"), theVersion, MyAUFactory);

And got this in there for the factory function

extern AudioComponentPlugInInterface*
MyAUFactory(const AudioComponentDescription *inDesc);

Which all should be like it should be done I think, but I get an error for MyAUFactory
Undefined symbols for architecture x86_64 

Well I expected that, the extern code does not know what I’m talking about. 
But I can’t just include the component somehow or something, I really have no idea how to load it.

Before AudioComponent there was a function called RegisterComponentFileRef which might have done what I need but that is not available anymore.

I also read https://developer.apple.com/library/mac/technotes/tn2247/_index.html#//apple_ref/doc/uid/DTS40012567
which has some information about registering a Component (which my code is mostly from) but how I can get this bundle to be found?

Anyone an idea how to load it? I can’t be the only one with this Problem and Google has no answer to this. Just another question on here how to use this call with no reply - I really hope someone knows about this because its like not documented. Some time ago Apple staff answered here but I got the feeling this isn’t the case anymore.


Thanks a lot

- Benjamin

 _______________________________________________
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: AudioComponentRegister host AU in Graph
      • From: Benjamin Rindt <email@hidden>
  • Prev by Date: Re: Resources to learn more about the difference between packed and unpacked (high/low aligned) samples?
  • Next by Date: Re: AudioComponentRegister host AU in Graph
  • Previous by thread: Re: Converting to the canonical audio unit format
  • Next by thread: Re: AudioComponentRegister host AU in Graph
  • Index(es):
    • Date
    • Thread