From e8fe35d96ed13f3df0e2f03e2f347e908064a31d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 27 Oct 2015 23:11:45 +0100 Subject: [PATCH] potential fix for some AU plugin UIs not displaying looks like not all AU plugin GUIs redraw themselves if [win setAutodisplay:1] is unnot. A user reported that some Waves plugins and Shattered Glass 32bit AUs are blank in 4.4 on 32bit OSX. see also 5eefdf7 and earlier AU/API changes. --- gtk2_ardour/au_pluginui.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index a964017499..54d3ab2ffe 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -813,12 +813,11 @@ AUPluginUI::lower_box_size_allocate (Gtk::Allocation& allocation) gboolean AUPluginUI::lower_box_expose (GdkEventExpose* event) { -#if 0 // AU view magically redraws by itself [au_view drawRect:NSMakeRect(event->area.x, event->area.y, event->area.width, event->area.height)]; -#endif + /* hack to keep ardour responsive * some UIs (e.g Addictive Drums) completely hog the CPU */ -- 2.30.2