#include "ardour/lxvst_plugin.h"
#include "ardour/linux_vst_support.h"
#include "lxvst_plugin_ui.h"
-#include "ardour_ui.h"
+#include "timers.h"
#include <gdk/gdkx.h>
#define LXVST_H_FIDDLE 40
LXVSTPluginUI::start_updating (GdkEventAny*)
{
_screen_update_connection.disconnect();
- _screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (mem_fun(*this, &LXVSTPluginUI::resize_callback));
+ _screen_update_connection = Timers::rapid_connect (mem_fun(*this, &LXVSTPluginUI::resize_callback));
return false;
}
*/
while (!(_vst->state()->been_activated)) {
- usleep (1000);
+ Glib::usleep (1000);
}
int const id = _vst->state()->xid;