• 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: AVAudioUnitComponentManager not finding things
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AVAudioUnitComponentManager not finding things


  • Subject: Re: AVAudioUnitComponentManager not finding things
  • From: "James A. Baxter via Coreaudio-api" <email@hidden>
  • Date: Sun, 3 May 2020 15:24:54 -0400

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@hidden wrote:
>
> Send Coreaudio-api mailing list submissions to
>       email@hidden
>
> 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@hidden
>
> You can reach the person managing the list at
>       email@hidden
>
> 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@hidden>
> To: "email@hidden" <email@hidden>
> Subject: AVAudioUnitComponentManager not finding things
> Message-ID:
>       <CAP-tLeG1Um-6FWv0_Z2hR4no2K=av6f=email@hidden>
> 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@hidden
> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Recording in stereo using built-in iPhone mics
  • Next by Date: Thread safety around setting kAudioDevicePropertyBufferFrameSize?
  • Previous by thread: AVAudioUnitComponentManager not finding things
  • Next by thread: Recording in stereo using built-in iPhone mics
  • Index(es):
    • Date
    • Thread