- control_bfr_t ctl_bfr;
- ctl_bfr.idx = selected->idx;
- ctl_bfr.value = selected->get_value();
- ui->send_child(LV2_SET, &ctl_bfr, sizeof(ctl_bfr));
+ PluginLV2ClientConfig &conf = client->config;
+ ui->send_child(LV2_UPDATE, conf.ctls, sizeof(float)*conf.nb_ports);