It doesn't look like you are running this code from a command-line utility, but 
I thought I'd mention that I had a similar issue due to a weirdness with iTerm, 
but my utility worked fine in Terminal.  

Your code shows my 3rd party plugs when I run it in an empty Obj-C MacOS app 
(from Xcode template).  I'm running Catalina.

(NNTR)

> On May 2, 2020, at 3:00 PM, [email protected] wrote:
> 
> Send Coreaudio-api mailing list submissions to
>       [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.apple.com/mailman/listinfo/coreaudio-api
> or, via email, send a message with subject or body 'help' to
>       [email protected]
> 
> You can reach the person managing the list at
>       [email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Coreaudio-api digest..."
> 
> 
> Today's Topics:
> 
>   1. AVAudioUnitComponentManager not finding things (J Navarro)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 1 May 2020 13:17:41 -0700
> From: J Navarro <[email protected]>
> To: "[email protected]" <[email protected]>
> Subject: AVAudioUnitComponentManager not finding things
> Message-ID:
>       <CAP-tLeG1Um-6FWv0_Z2hR4no2K=av6f=ivzxku1maru8zgd...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I?m trying to host auv3 audio unit effects. The problem is
> AvaudioUnitComponent manager randomly decides when it wants to show me
> third party Audio units. The rest of the time it just gives me Apples built
> in effects. Has anyone had this issue? Any light you could shed on this
> would be appreciated, I?m stumped. Here?s the code.
> 
> __block EffectBusSelectorVC *bself =self;
> [_opQueue addOperationWithBlock:^{
> AudioComponentDescription desc= {0};
> desc.componentType = kAudioUnitType_Effect;
> NSArray *list = [[AVAudioUnitComponentManager
> sharedAudioUnitComponentManager] componentsMatchingDescription:desc];
> NSMutableArray *strList =[NSMutableArray array];
> NSMutableArray *effList =[NSMutableArray array];
> for (AVAudioUnitComponent *cpm in list) {
>     [self printAudioCompon:cpm]; //NSLog(@"cpm: %@", cpm);
>     if ([cpm.manufacturerName isEqualToString:@"Apple"]) { continue; }
>     if ([cpm.typeName isEqualToString:@"Effect"])
>     {
>         [strList addObject:cpm.name];
>         [effList addObject:cpm];
>     }
> }
> bself->_effectslist = effList;
> dispatch_async(dispatch_get_main_queue(), ^{
>     [self updateViewController];
> });
> 
> -- 
> --
> Sonic Kat
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <https://lists.apple.com/mailman/private/coreaudio-api/attachments/20200501/561f0011/attachment.htm>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Coreaudio-api mailing list
> [email protected]
> https://lists.apple.com/mailman/listinfo/coreaudio-api
> 
> 
> ------------------------------
> 
> End of Coreaudio-api Digest, Vol 17, Issue 16
> *********************************************

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to