Re: How to get icon of the AUv3 extension from Host app
Re: How to get icon of the AUv3 extension from Host app
- Subject: Re: How to get icon of the AUv3 extension from Host app
- From: Sven Thoennissen via Coreaudio-api <email@hidden>
- Date: Thu, 31 Oct 2019 18:29:26 +0100
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@hidden>:
>
> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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