• 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
Manually initializing an AUv3 Extension? AudioUnitInitialize() does not work.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Manually initializing an AUv3 Extension? AudioUnitInitialize() does not work.


  • Subject: Manually initializing an AUv3 Extension? AudioUnitInitialize() does not work.
  • From: Bram Bos <email@hidden>
  • Date: Thu, 10 Nov 2016 11:31:56 +0000
  • Thread-topic: Manually initializing an AUv3 Extension? AudioUnitInitialize() does not work.

My host needs to call an AUv3 Extension's AURenderBlock without using an AUGraph or AVAudioEngine.

Instantiating the AU and getting its viewController works fine; but when I call the AURenderBlock I get kAudioUnitErr_Uninitialized. I guess I need to manually initialise the AU.

How do I do this?

[AVAudioUnit instantiateWithComponentDescription:AVUnit.audioComponentDescription options:options completionHandler:^(AVAudioUnit* avAudioUnit, NSError* error) {
    
        AU = avAudioUnit.AUAudioUnit;
        //AudioUnitInitialize( avAudioUnit.audioUnit ); <-- this does not work
        
        // open the GUI for the plugin, this works without an issue
        [AU requestViewControllerWithCompletionHandler:^(AUViewControllerBase* AUviewController) {
            pluginViewController = AUviewController;
        }];

        audioUnitRenderBlock = AU.renderBlock;     

}];
 _______________________________________________
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


  • Prev by Date: Re: Coreaudio-api Digest, Vol 13, Issue 148
  • Next by Date: Re: : Manually initializing an AUv3 Extension?
  • Previous by thread: Re: Coreaudio-api Digest, Vol 13, Issue 148
  • Next by thread: Re: : Manually initializing an AUv3 Extension?
  • Index(es):
    • Date
    • Thread