[LAD] lv2 external UI -- was Re: LV2 Oscilloscope

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Harry van Haaren <harryhaaren@...>
Cc: Aurélien <blablack@...>, Linux Audio Developers <linux-audio-dev@...>
Date: Friday, October 11, 2013 - 2:08 pm

On 10/11/2013 02:28 AM, Harry van Haaren wrote:

To clarify this a bit and fill in the details:

*All this is only relevant for external UI.*

1) URI: http://kxstudio.sourceforge.net/ns/lv2ext/external-ui

Ardour3.4 behaves according to spec, see the function documentation
of void (*ui_closed)(LV2UI_Controller controller); in the header file
http://kxstudio.sourceforge.net/ns/lv2ext/lv2_external_ui.h

2) URI: http://lv2plug.in/ns/extensions/ui#external

Ardour 2.X - 3.4 does not follow the spec regarding void (*ui_closed).
It just hides the window and shows it again.

The reason for Ardour doing (2) differently is that it was agreed on by
some developers that for many plugins re-initialization does not make
sense (re-init can be CPU intense). Those devs updated the
implementation but forgot or neglected to update the spec.

AFAIK it's also only Ardour that does not follow the spec. Other LV2
hosts that support lv2plug.in#externalui may implement it as synonym to
kxstudio#external-ui.

Otherwise the kxstudio#external-ui and lv2plugin#externalui are
identical (with just a minor cosmetic difference that kxstudio defines a
separate URI for the Host and plugin-widget).

In any case, external UI's should be avoided if possible, there are very
few valid use-cases. Just use a 'normal' LV2 UI or let the host generate
one.

ciao,
robin
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] LV2 Oscilloscope, Aurélien Leblond, (Thu Oct 10, 5:29 pm)
Re: [LAD] LV2 Oscilloscope, Lars Luthman, (Thu Oct 10, 6:38 pm)
Re: [LAD] LV2 Oscilloscope, Robin Gareus, (Thu Oct 10, 7:28 pm)
Re: [LAD] LV2 Oscilloscope, Lars Luthman, (Thu Oct 10, 6:42 pm)
Re: [LAD] LV2 Oscilloscope, Filipe Coelho, (Thu Oct 10, 7:05 pm)
Re: [LAD] LV2 Oscilloscope, Harry van Haaren, (Thu Oct 10, 6:12 pm)
Re: [LAD] LV2 Oscilloscope, Paul Davis, (Thu Oct 10, 7:07 pm)
Re: [LAD] LV2 Oscilloscope, Harry van Haaren, (Fri Oct 11, 12:28 am)
[LAD] lv2 external UI -- was Re: LV2 Oscilloscope, Robin Gareus, (Fri Oct 11, 2:08 pm)
Re: [LAD] lv2 external UI -- was Re: LV2 Oscilloscope, Filipe Coelho, (Fri Oct 11, 2:45 pm)
Re: [LAD] lv2 external UI -- was Re: LV2 Oscilloscope, Robin Gareus, (Fri Oct 11, 2:42 pm)