OSC: add param to plugin_list response which indicates plugin enable state (OnkelDead)
authorLen Ovens <len@ovenwerks.net>
Tue, 1 Aug 2017 14:04:59 +0000 (07:04 -0700)
committerLen Ovens <len@ovenwerks.net>
Tue, 1 Aug 2017 14:04:59 +0000 (07:04 -0700)
libs/surfaces/osc/osc.cc

index 09939fdb5a68b45986748ad98749ebf834d61a8e..954b7edb643ce1f7a17407f5a2ab768a1e692621 100644 (file)
@@ -4037,6 +4037,7 @@ OSC::route_plugin_list (int ssid, lo_message msg) {
 
                boost::shared_ptr<ARDOUR::Plugin> pip = pi->plugin();
                lo_message_add_string (reply, pip->name());
+               lo_message_add_int32(reply, redi->enabled() ? 1 : 0);
 
                piid++;
        }