AVAudioUnitComponentManager not finding things
AVAudioUnitComponentManager not finding things
- Subject: AVAudioUnitComponentManager not finding things
- From: J Navarro via Coreaudio-api <email@hidden>
- Date: Fri, 1 May 2020 13:17:41 -0700
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
_______________________________________________
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