This is a long-standing question to me. I wasn't able to find an answer.
Simply put, when standard AU plugins in Logic Pro open, the window size is initially correct. When I create an NSView myself and return it to Logic Pro via AUViewFactory, Logic Pro initially sets a 0 size of the window, and then resizes it to the correct size specified by NSView's frameSize. But this looks flickery. How Logic Pro manages to avoid view size flickering in their own plugins?
AudioUnit view size on creation
-
syntonica
- KVRAF
- 2001 posts since 25 Sep, 2014 from Specific Northwest
Are you talking Apple's stock AU or Logic's built in plugins? The latter are not AUs at all, but predate even VSTs. Regarding Apple's stock AU plugins, they do the same--the window opens and then redisplays to the plugin's full size.
I started on Logic 5 with a PowerBook G4 550Mhz. I now have a MacBook Air M1 and it's ~165x faster! So, why is my music not proportionally better? 

-
Aleksey Vaneev
- KVRAF
- Topic Starter
- 4000 posts since 7 Sep, 2002