Thread: AU validation
View Single Post
Old 03-03-2017, 05:19 AM   #37
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 652
Default

Quote:
Originally Posted by Matthieu Brucher View Post
I'm not using them anyway, so that's good.
The issues I currently have though are:
- what is the proper way to create an image and use it? IPlugEffect has artefacts and the image gets whiter and whiter when moving the fader
- my own plugins still won't show up in GarageBand, probably due to some i386 issue (had to update to SDK10.11 because building ATK with 10.8 was more than painful with CMake not doing its job).
Sorry about that. This is because I am using cairo with my plugin.

Change IGraphicsMac.mm

From:
CGDataProviderRef provider = CGDataProviderCreateWithData(NULL,retina_buf ? retina_buf : p,4*sw*h,NULL);
img = CGImageCreate(w,h,8,32,4*sw,(CGColorSpaceRef)mColo rSpace,
(kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little),
provider,NULL,NO,kCGRenderingIntentDefault);
CGDataProviderRelease(provider);

To:
CGDataProviderRef provider = CGDataProviderCreateWithData(NULL,retina_buf ? retina_buf : p,4*sw*h,NULL);
img = CGImageCreate(w,h,8,32,4*sw,(CGColorSpaceRef)mColo rSpace,
kCGImageAlphaPremultipliedFirst,
provider,NULL,NO,kCGRenderingIntentDefault);
CGDataProviderRelease(provider);
Youlean is offline   Reply With Quote