Hi Dmitry,

You can fetch the icon the old, non-AUv3 way:

let image = AudioComponentGetIcon(component.audioComponent, 40)

Where component is an AVAudioUnitComponent instance, and the returned image is 
an instance of UIImage.

However, this API is deprecated in iOS 13.0, and after a quick search I could 
not find a substitute.
There is AVAudioUnitComponent.icon but it’s only for macOS. I hope Apple makes 
it available for iOS in an upcoming iOS update.

Sven

> Am 31.10.2019 um 18:12 schrieb Dmitry Klochkov via Coreaudio-api 
> <[email protected]>:
> 
> I am adding support of AUv3 extension to my iOS sequencer application. So my 
> app is the host and for now I will support AU extensions of type 
> kAudioUnitType_MusicDevice.
> 
> I downloaded a sample project from Apple docs. I managed to fetch the list of 
> available audio units in my app. But how do I get the image of the found 
> extensions. Looking at other host apps it seems possible, but the sample 
> project doesn't cover this. 
> 
> Could someone please tell me how to fetch the image of found AUv3 extension?
> 
> Best wishes,
> Dmitry Klochkov
> _______________________________________________
> 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/biochill%40me.com
> 
> This email sent to [email protected]

 _______________________________________________
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