fix file-name reported to analyzer when stem-exporting
[ardour.git] / gtk2_ardour / lv2_plugin_ui.cc
index 20f59b5e8361624f3454c9533e58d9b486453705..75b3ff0bb89f7823e97f855972335611b8513f80 100644 (file)
@@ -31,7 +31,7 @@
 #include <lilv/lilv.h>
 #include <suil/suil.h>
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace Gtk;
@@ -59,7 +59,7 @@ LV2PluginUI::write_from_ui(void*       controller,
                me->_updates.insert (port_index);
 
                if (ac) {
-                       ac->set_value(*(const float*)buffer);
+                       ac->set_value(*(const float*)buffer, Controllable::NoGroup);
                }
        } else if (format == URIMap::instance().urids.atom_eventTransfer) {
 
@@ -140,11 +140,9 @@ LV2PluginUI::control_changed (uint32_t port_index)
 bool
 LV2PluginUI::start_updating(GdkEventAny*)
 {
-       if (!_output_ports.empty()) {
-               _screen_update_connection.disconnect();
-               _screen_update_connection = Timers::super_rapid_connect
-                       (sigc::mem_fun(*this, &LV2PluginUI::output_update));
-       }
+       _screen_update_connection.disconnect();
+       _screen_update_connection = Timers::super_rapid_connect
+               (sigc::mem_fun(*this, &LV2PluginUI::output_update));
        return false;
 }
 
@@ -152,10 +150,7 @@ bool
 LV2PluginUI::stop_updating(GdkEventAny*)
 {
        //cout << "stop_updating" << endl;
-
-       if (!_output_ports.empty()) {
-               _screen_update_connection.disconnect();
-       }
+       _screen_update_connection.disconnect();
        return false;
 }