AudioUnit view size on creation

DSP, Plugin and Host development discussion.
RELATED
PRODUCTS
User avatar
Aleksey Vaneev
KVRAF
Topic Starter
4000 posts since 7 Sep, 2002

Post Mon Jun 05, 2023 5:59 am

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?
Image

User avatar
syntonica
KVRAF
2001 posts since 25 Sep, 2014 from Specific Northwest

Post Mon Jun 12, 2023 12:22 pm

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? :(

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

Post Thu Jun 15, 2023 7:16 pm

Ah, maybe those are built-in plugins, it's not readily obvious what are they. Thanks!
Image

Return to “DSP and Plugin Development”