[LAD] How can an LV2 plugin UI get the value of a control port from the plugin?

2014-10-17 Thread Phil CM
When I turn the controls in my UI, the controls move in the hosts generic UI ; But when I turn the controls in the hosts generic UI, nothing moves in the UI. Also each time the UI is opened, the widgets are reset at maximum (not the values). How can I /get/ the control ports values from the

Re: [LAD] How can an LV2 plugin UI get the value of a control port from the plugin?

2014-10-17 Thread Philippe Coatmeur
See, I know the value of each control port this way: static void port_event(LV2UI_Handle ui, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void * buffer) { KisGUI *self = (KisGUI *) ui; if (port_index == 3)

Re: [LAD] How can an LV2 plugin UI get the value of a control port from the plugin?

2014-10-17 Thread Harry van Haaren
On Fri, Oct 17, 2014 at 1:30 PM, Phil CM wrote: > Also each time the UI is opened, the widgets are reset at maximum (not the > values). > Hi Phil, Glad to see you're excited and working hard on learning LV2! Checkout the example plugins: they show how things work. In the UI, there is a port_e