On Mar 18, 2014, at 4:56 AM, Vojtěch Meluzín <meldaproduct...@gmail.com> wrote: > > Hi, > > my plugins are accepting keyboard events. When a key event is not handled, > it is forwarded somewhere else like this: > > [super keyDown: pEvent] > > If that's not done, hosts don't get spacebar for start/stop playback for > example. Unfortunately there's a problem with Logic - when you press > 1/2/3/4... it switches between layouts, which unfortunately means destroy > the plugin view. But the keyDown even is still processing, so Logic > destroys the plugin while processing it's own message. And this usually > leads to a crash, with no trace of the plugin in the stack...
Audio Units and their UI are supposed to be separated per the Core Audio spec. Also, please do not cross-post. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com