aboutsummaryrefslogtreecommitdiffstats
path: root/lv2
diff options
context:
space:
mode:
Diffstat (limited to 'lv2')
l---------lv2/lv2plug.in/ns/ext/pui/ext.pc.in1
-rw-r--r--lv2/lv2plug.in/ns/ext/pui/manifest.ttl8
-rw-r--r--lv2/lv2plug.in/ns/ext/pui/pui.h375
-rw-r--r--lv2/lv2plug.in/ns/ext/pui/pui.ttl284
l---------lv2/lv2plug.in/ns/ext/pui/waf1
l---------lv2/lv2plug.in/ns/ext/pui/wscript1
6 files changed, 0 insertions, 670 deletions
diff --git a/lv2/lv2plug.in/ns/ext/pui/ext.pc.in b/lv2/lv2plug.in/ns/ext/pui/ext.pc.in
deleted file mode 120000
index 03dd044..0000000
--- a/lv2/lv2plug.in/ns/ext/pui/ext.pc.in
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../ext.pc.in \ No newline at end of file
diff --git a/lv2/lv2plug.in/ns/ext/pui/manifest.ttl b/lv2/lv2plug.in/ns/ext/pui/manifest.ttl
deleted file mode 100644
index 1229118..0000000
--- a/lv2/lv2plug.in/ns/ext/pui/manifest.ttl
+++ /dev/null
@@ -1,8 +0,0 @@
-@prefix lv2: <http://lv2plug.in/ns/lv2core#>.
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
-
-<http://lv2plug.in/ns/ext/pui>
- a lv2:Specification;
- lv2:minorVersion 0;
- lv2:microVersion 1;
- rdfs:seeAlso <pui.ttl>.
diff --git a/lv2/lv2plug.in/ns/ext/pui/pui.h b/lv2/lv2plug.in/ns/ext/pui/pui.h
deleted file mode 100644
index f191654..0000000
--- a/lv2/lv2plug.in/ns/ext/pui/pui.h
+++ /dev/null
@@ -1,375 +0,0 @@
-/************************************************************************
- *
- * Plugin UI extension for LV2
- *
- * Copyright (C) 2006-2011 Lars Luthman <mail@larsluthman.net>
- *
- * Based on lv2.h, which was
- *
- * Copyright (C) 2000-2002 Richard W.E. Furse, Paul Barton-Davis,
- * Stefan Westerfeld
- * Copyright (C) 2006 Steve Harris, David Robillard.
- *
- * This header is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2.1 of the License,
- * or (at your option) any later version.
- *
- * This header is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
- * USA.
- *
- ***********************************************************************/
-
-/**
- @file pui.h
- C API for the LV2 UI extension <http://lv2plug.in/ns/ext/pui>.
-
- This file specifies a C API for communication between an LV2 host and an
- LV2 UI. The interface is similar to the one used for actual LV2 plugins.
-
- The entry point is the function lv2ui_descriptor().
-*/
-
-#ifndef LV2_PUI_H
-#define LV2_PUI_H
-
-#include <lv2.h>
-
-/** The URI of this extension (note this is not the same as the prefix). */
-#define LV2_PUI_URI "http://lv2plug.in/ns/ext/pui"
-
-/** The numerical ID returned by LV2_PUI_Host_Descriptor::port_index() for
- invalid port symbols. */
-#define LV2_PUI_INVALID_PORT_INDEX ((uint32_t)-1)
-
-/** The full URI for the pui:floatControl PortProtocol. */
-#define LV2_PUI_FLOAT_CONTROL_URI "http://lv2plug.in/ns/ext/pui#floatControl"
-
-/** The full URI for the pui:floatPeakRMS PortProtocol. */
-#define LV2_PUI_FLOAT_PEAK_RMS_URI "http://lv2plug.in/ns/ext/pui#floatPeakRMS"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- A data type that is used to pass peak and RMS values for a period of
- audio data at an input or output port to an UI, using port_event. See the
- documentation for pui:floatPeakRMS for details about how and when this
- should be done.
-*/
-typedef struct _LV2_PUI_Peak_RMS_Data {
-
- /**
- The start of the measurement period. This is just a running counter that
- must not be interpreted as any sort of global frame position. It should
- only be interpreted relative to the starts of other measurement periods
- in port_event() calls to the same plugin instance.
-
- This counter is allowed to overflow, in which case it should just wrap
- around.
- */
- uint32_t period_start;
-
- /**
- The size of the measurement period, in the same units as period_start.
- */
- uint32_t period_size;
-
- /**
- The peak value for the measurement period. This should be the maximal
- value for abs(sample) over all the samples in the period.
- */
- float peak;
-
- /**
- The RMS value for the measurement period. This should be the root mean
- square value of the samples in the period, equivalent to
- sqrt((pow(sample1, 2) + pow(sample2, 2) + ... + pow(sampleN, 2)) / N)
- where N is period_size.
- */
- float rms;
-
-} LV2_PUI_Peak_RMS_Data;
-
-/**
- A pointer to a widget or other type of UI.
- The actual type is defined by the type of the UI defined in the RDF data.
- All the functionality provided by this extension is toolkit independent, the
- host only needs to pass the necessary callbacks and display the widget, if
- possible. Plugins may have several UIs, in various toolkits.
-*/
-typedef void* LV2_PUI_Widget;
-
-/**
- Handle for a particular instance of a UI.
- It is valid to compare this to NULL (0 for C++) but otherwise the host MUST
- NOT attempt to interpret it. The UI may use it to reference internal
- instance data.
-*/
-typedef void* LV2_PUI_Handle;
-
-/**
- Handle for host functions and data provided to a UI.
- An object of this type is passed to the UI's instantiate() function, and the
- UI must in turn pass it as the first parameter to the callbacks in
- LV2_PUI_Host_Descriptor. The host may use it to reference internal data, such
- as the plugin instance that the UI is associated with. The UI MUST NOT
- interpret the value of an LV2_PUI_Host_Handle in any way.
-*/
-typedef void* LV2_PUI_Host_Handle;
-
-/**
- Host-provided functions that the UI can use to control the plugin instance.
-
- A pointer to an object of this type is passed to the lv2ui_descriptor()
- function.
-
- The host MUST provide non-NULL values for all the function pointers.
-*/
-typedef struct _LV2_PUI_Host_Descriptor {
-
- /**
- Send data to one of the plugin's input ports.
-
- The @c buffer parameter MUST point to a block of data @c buffer_size
- bytes large. The contents of this buffer and what the host should do
- with it depends on the value of the @c port_protocol parameter.
-
- The @c port_protocol parameter MUST be a numeric ID for a
- pui:PortProtocol. Numeric IDs for PortProtocols are retrieved using the
- port_protocol_id() function.
-
- The @c buffer is only valid during the time of this function call, so if
- the host wants to keep it for later use it has to copy the contents to an
- internal buffer.
-
- @param host_handle The @c host_handle that was passed to the UI's
- instantiate() function.
- @param port_index The index of the port that the data should be written
- to, as returned by port_index().
- @param buffer_size The size of the data pointed to by @c buffer, in
- bytes.
- @param port_protocol The numeric ID of the Port Protocol to use,
- as returned by port_protocol_id().
- */
- void (*write_port)(LV2_PUI_Host_Handle host_handle,
- uint32_t port_index,
- uint32_t buffer_size,
- uint32_t port_protocol,
- void const* buffer);
-
- /**
- Return the numerical index for a port.
- This index is used when writing data to ports using write_port() and whe
- receiving data using port_event(). If @c port_symbol is not a valid port
- symbol for @c plugin the host it MUST return
- LV2_PUI_INVALID_PORT_INDEX. For performance reasons it may be a good idea
- to cache port indices in the UI at instantiation time.
-
- @param host_handle The LV2_PUI_Host_Handle that was passed to the UI's
- instantiate() function.
- @param port_symbol The port's symbol, as defined in the RDF data for
- the plugin.
- */
- uint32_t (*port_index)(LV2_PUI_Host_Handle host_handle,
- char const* port_symbol);
-
- /**
- Subscribe to updates for a port.
- This means that the host will call the UI's port_event() function when
- the port value changes (as defined by the PortProtocol).
-
- Calling this function with the same @c port_index and @c port_protocol
- as an already active subscription has no effect.
-
- @param host_handle The @c host_handle that was passed to the UI's
- instantiate() function.
- @param port_index The index of the port, as returned by port_index().
- @param port_protocol The numeric ID of the PortProtocol, as
- returned by port_protocol_id().
- */
- void (*subscribe_to_port)(LV2_PUI_Host_Handle host_handle,
- uint32_t port_index,
- uint32_t port_protocol,
- const LV2_Feature* const* features);
-
- /**
- Unsubscribe from updates for a port.
- This means that the host will cease calling calling port_event() when
- the port value changes.
-
- Calling this function with a @c port_index and @c port_protocol that
- does not refer to an active port subscription has no effect.
-
- @param host_handle The @c host_handle that was passed to the UI's
- instantiate() function.
- @param port_index The index of the port, as returned by port_index().
- @param port_protocol The numeric ID of the PortProtocol, as
- returned by port_protocol_id().
- */
- void (*unsubscribe_from_port)(LV2_PUI_Host_Handle host_handle,
- uint32_t port_index,
- uint32_t port_protocol,
- const LV2_Feature* const* features);
-
-
-} LV2_PUI_Host_Descriptor;
-
-/**
- This struct contains the implementation of an UI. A pointer to an
- object of this type is returned by the lv2ui_descriptor() function.
-*/
-typedef struct _LV2_PUI_Descriptor {
-
- /**
- The URI for this UI (not for the plugin it controls).
- */
- char const* URI;
-
- /**
- Create a new UI object and return a handle to it. This function works
- similarly to the instantiate() member in LV2_Descriptor.
-
- @param descriptor The descriptor for the UI to instantiate.
-
- @param plugin_uri The URI of the plugin that this UI will control.
-
- @param bundle_path The path to the bundle containing the RDF data that
- references this shared object file, with trailing separator (e.g. '/').
-
- @param host_descriptor A pointer to an object that contains function
- pointers that the UI instance should use to control the plugin
- instance. This pointer MUST be valid until cleanup() is called for this
- UI instance.
-
- @param host_handle A handle that the host may use to reference internal
- data. It MUST be passed as the first parameter to the function
- pointers in @c host_descriptor, and MUST NOT be interpreted in any other
- way by the UI.
-
- @param features A NULL-terminated array of LV2_Feature pointers. The
- host must pass all feature URIs that it and the UI supports and any
- additional data, just like in the LV2 plugin instantiate()
- function. Note that UI features and plugin features are NOT necessarily
- the same; @c features will probably not be the same array as the one the
- plugin host passes to a plugin.
- */
- LV2_PUI_Handle (*instantiate)(
- struct _LV2_PUI_Descriptor const* descriptor,
- char const* plugin_uri,
- char const* bundle_path,
- LV2_PUI_Host_Descriptor const* host_descriptor,
- LV2_PUI_Host_Handle host_handle,
- LV2_Feature const* const* features);
-
- /**
- Return the widget pointer for the UI object.
- This MUST return the same value during the entire lifetime of the UI
- object.
- */
- LV2_PUI_Widget (*get_widget)(LV2_PUI_Handle ui);
-
- /**
- Destroy the UI object and the associated widget.
- The host must not try to access the widget after calling this function.
- */
- void (*cleanup)(LV2_PUI_Handle ui);
-
- /**
- Notify the UI that something has happened to a subscribed port.
-
- This is called by the host when something happens at a plugin port that
- has been subscribed to using
- LV2_PUI_Host_Descriptor::add_port_subscription().
-
- The @c buffer is only valid during the time of this function call, so if
- the UI wants to keep it for later use it has to copy the contents to an
- internal buffer.
-
- @param ui A handle for the UI object.
- @param port_index The index of the port that has changed, as returned by
- LV2_PUI_Host_Descriptor::port_index().
- @param buffer_size The size of the data buffer in bytes.
- @param port_protocol The format of the data buffer, as returned by
- LV2_PUI_Host_Descriptor::port_protocol_id().
- @param buffer A pointer to the data buffer.
- */
- void (*port_event)(LV2_PUI_Handle ui,
- uint32_t port_index,
- uint32_t buffer_size,
- uint32_t port_protocol,
- void const* buffer);
-
- /**
- Return a data structure associated with an extension URI.
-
- This facility can be used by extensions to extend the LV2_PUI_Descriptor
- API. This function adheres to the same rules as
- LV2_Descriptor::extension_data, except it applies to UIs rather than
- plugins.
- */
- void const* (*extension_data)(char const* uri);
-
-} LV2_PUI_Descriptor;
-
-typedef void* LV2_PUI_Lib_Data;
-
-/**
- Descriptor for a plugin UI library.
-
- Each plugin UI shared library has exactly one of these objects, accessed
- via the lv2_pui_lib_descriptor() function in that library.
-*/
-typedef struct {
- /**
- Opaque library data which must be passed as the first parameter to
- all the methods of this struct.
- */
- LV2_PUI_Lib_Data lib_data;
-
- void (*cleanup)(LV2_PUI_Lib_Data lib_data);
-
- /**
- Prototype for UI accessor function.
-
- This function follows the same rules as lv2_descriptor(), except it
- applies to UIs rather than plugins.
- */
- LV2_PUI_Descriptor const* (*pui_descriptor)(LV2_PUI_Lib_Data lib_data,
- uint32_t index);
-
-} LV2_PUI_Lib_Descriptor;
-
-/**
- Prototype for UI library accessor function.
-
- This is the entry point for a plugin UI library. Hosts load this symbol
- from the library and call this function to obtain a library descriptor which
- can be used to access all the UIs contained in this library. The returned
- object must not be destroyed (with LV2_PUI_Lib_Descriptor::cleanup()) until
- all UIs loaded from that library have been destroyed.
-*/
-LV2_PUI_Lib_Descriptor const* lv2_pui_lib_descriptor(
- const char* bundle_path,
- LV2_Feature const* const* features);
-
-/**
- Type of the lv2_pui_lib_descriptor() function in a UI library.
-*/
-typedef LV2_PUI_Lib_Descriptor const* (*LV2_PUI_Lib_Descriptor_Func)(
- const char* bundle_path,
- LV2_Feature const* const* features);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* LV2_PUI_H */
diff --git a/lv2/lv2plug.in/ns/ext/pui/pui.ttl b/lv2/lv2plug.in/ns/ext/pui/pui.ttl
deleted file mode 100644
index d305769..0000000
--- a/lv2/lv2plug.in/ns/ext/pui/pui.ttl
+++ /dev/null
@@ -1,284 +0,0 @@
-# LV2 Plugin UI Extension
-# Copyright (C) 2010-2011 Lars Luthman <mail@larsluthman.net>
-#
-# Based on lv2.ttl, which is
-# Copyright (C) 2006-2008 Steve Harris, David Robillard
-#
-# This extension should be considered a replacement for the earlier
-# in-process UI extension with the URI <http://lv2plug.in/ns/extensions/ui>.
-# Hosts and plugins that used that extension should use this one instead.
-# The earlier in-process UI extension is not compatible with LV2 revision 3
-# and later and may break in subtle ways.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-
-@prefix doap: <http://usefulinc.com/ns/doap#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix lv2: <http://lv2plug.in/ns/lv2core#>.
-@prefix pui: <http://lv2plug.in/ns/ext/pui#>.
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-
-<http://lv2plug.in/ns/ext/pui>
- a lv2:Specification ;
- doap:license <http://usefulinc.com/doap/licenses/mit> ;
- doap:name "LV2 UI" ;
- doap:shortdesc "Generic UI interface for LV2 plugins." ;
- doap:release [
- doap:revision "0.1" ;
- doap:created "2011-03-26"
- ] ;
- doap:maintainer [
- a foaf:Person ;
- foaf:name "Lars Luthman" ;
- foaf:mbox <mailto:mail@larsluthman.net>
- ] ;
- lv2:documentation """
-<p>This extension defines an interface that can be used to create UIs for
-plugins. The UIs are code that reside in shared object files in an LV2
-bundle and are referenced in the RDF data using the triples:</p>
-<pre class="turtle-code">
-@prefix pui: &lt;http://lv2plug.in/ns/ext/pui#&gt; .
-
-&lt;http://example.org/my-ui&gt;
- a pui:Gtk2UI ;
- lv2:appliesTo &lt;http://example.org/my-plugin&gt; ;
- pui:binary &lt;my-ui.so&gt; .
-</pre>
-<p>... where <code>http://example.org/my-plugin</code> is the URI of the plugin,
-<code>http://example.org/my-ui</code> is the URI of the plugin UI and
-<code>my-ui.so</code> is the relative URI to the shared object file. While it
-is possible to have the plugin UI and the plugin in the same shared object file
-it is probably a good idea to keep them separate so that hosts that don't want
-UIs don't have to load the UI code.</p>
-
-<p>A UI MUST specify its class in the RDF data and the class MUST be a proper
-subclass of pui:UI, in this case pui:Gtk2UI. The class defines what type the
-UI is, e.g. what graphics toolkit it uses. There are no UI classes defined in
-this extension, those are specified separately (and anyone can define their
-own).</p>
-
-<p>It's entirely possible to have multiple UIs for the same plugin, or to have
-the UI for a plugin in a different bundle from the actual plugin - this way
-people other than the plugin author can write plugin UIs independently without
-editing the original plugin bundle. It is also possible to have one UI that
-works with several different plugins.</p>
-
-<p>UIs should also be written in such a way that the host may load several
-instances of an UI, or different UIs, and use them with the same plugin
-instance.</p>
-
-<p>Note that the process that loads the shared object file containing the UI
-code and the process that loads the shared object file containing the actual
-plugin implementation do not have to be the same. There are many valid reasons
-for having the plugin and the UI in different processes, or even on different
-machines. This means that you can <strong>not</strong> use singletons and
-global variables and expect them to refer to the same objects in the UI and the
-actual plugin. The function callback interface defined in the header pui.h is
-all you can expect to work.</p>
-""" .
-
-pui:UI
- a rdfs:Class ;
- rdfs:subClassOf lv2:Feature ;
- rdfs:label "UI" ;
- lv2:documentation """
-<p>The class which represents an LV2 plugin UI.
-</p>
-
-<p>To be used by a host a UI MUST have at least the following properties:</p>
-<ul>
-<li>rdf:type (with object a proper subclass of pui:UI)</li>
-<li>doap:name (one without language tag)</li>
-<li>lv2:binary (with a shared object file as object)</li>
-<li>lv2:appliesTo (with a LV2 plugin as object)</li>
-</ul>
-
-<p>The rdf:type of an UI is used by the host to decide whether it supports the
-UI and how to handle the LV2_PUI_Widget object that is returned by the UIs
-get_widget() function. For example, a type of pui:Gtk2UI might tell the
-host that LV2_PUI_Widget is a pointer to an object of a type defined in the
-Gtk+ library. No UI types are defined in this extension, that is intentionally
-left for other extensions.</p>
-
-<p>The doap:name property should be at most a few words in length using title
-capitalization, e.g. "Flashy Mixer GUI". Use lv2:documentation for more
-detailed descriptions.</p>
-
-<p>UIs may have optional or required features, specified using lv2:optionalFeature
-or lv2:requiredFeature. The same rules apply here as for plugins; a host MUST
-pass the LV2_Feature objects for all features it supports to the UI's
-instantiate() function, a host SHOULD NOT try to instantiate an UI if it
-doesn't support all of its required features, and an UI MUST fail to
-instantiate if the host doesn't pass all required features to instantiate().
-</p>
-
-<p>For details about the C API used to load UIs, see the file pui.h.
-</p>
-""" .
-
-pui:PortProtocol
- a rdfs:Class ;
- rdfs:subClassOf lv2:Feature ;
- rdfs:label "Port protocol" ;
- lv2:documentation """
-<p>A PortProtocol defines a certain way of communicating port data between UI
-and plugin. PortProtocols can be specified in additional extensions, and
-those extensions MUST specify:
-</p>
-
-<ol>
-<li>Which plugin port types the buffer type is valid for</li>
-<li>When the host should call port_event() in LV2_PUI_Descriptor</li>
-<li>The format of the data in the buffer passed to port_event()</li>
-<li>The format of the data in the buffer passed to write_port()</li>
-<li>What happens when the UI calls write_port() in LV2_PUI_Host_Descriptor</li>
-<li>What data (if any) should be passed in the LV2_Feature data pointer. </li>
-</ol>
-
-<p>For an example, see pui:floatControl or pui:floatPeakRMS.
-</p>
-
-<p>PortProtocol is a subclass of lv2:Feature, so UIs use lv2:optionalFeature and
-lv2:requiredFeature to specify which PortProtocols they want to use.
-</p>
-""" .
-
-pui:floatControl
- a pui:PortProtocol ;
- rdfs:label "Floating point value" ;
- lv2:documentation """
-<p>The rules (see pui:PortProtocol) for this port protocol are:</p>
-<ol>
-<li>This PortProtocol is valid for ports with the type lv2:ControlPort.</li>
-<li>The host SHOULD call port_event() as soon as possible when the port value
- has changed, but the plugin MUST NOT depend on a call for every change or
- the timing of the calls. However, the host MUST do the calls in the same
- order that the value changes occur in.</li>
-<li>The format of the data in the buffer passed to port_event() is a single
- float, and the buffer size is sizeof(float).</li>
-<li>Same as 3.</li>
-<li>The host SHOULD change the port value as soon as possible when write_port()
- is called, but the UI MUST NOT depend on a change for every call or the
- timing of the changes. However, the host MUST do the changes in the same
- order that the function calls occur in.</li>
-<li>The data pointer in the LV2_Feature object for this feature should be
- NULL.</li>
-</ol>
-""" .
-
-pui:floatPeakRMS
- a pui:PortProtocol ;
- rdfs:label "Peak and RMS for a period of audio data" ;
- lv2:documentation """
-<p>This port protocol defines a way for the host to send continuous peak
-and RMS measurements of the audio signal at a certain port to the UI. The
-intended use is visualisation, e.g. an animated meter widget that shows
-the level of the audio input or output.</p>
-
-<p>A contiguous sequence of audio samples for which a single peak value
-and a single RMS value have been computed is called a <em>measurement
-period</em>.</p>
-
-<p>The rules (see pui:PortProtocol) for this port protocol are:</p>
-<ol>
-<li>This PortProtocol is valid for ports with the type lv2:AudioPort.</li>
-<li>The host SHOULD call port_event() at regular intervals. The measurement
- periods used for calls to port_event() for the same port SHOULD be
- contiguous (i.e. the measurement period for one call should begin right
- after the end of the measurement period for the previous call ends) unless
- the UI has removed and re-added the port subscription between those calls.
- However, UIs MUST NOT depend on either the regularity of the calls or the
- contiguity of the measurement periods; hosts may change the call rate
- or skip calls for performance or other reasons. Measurement periods for
- different calls to port_event() for the same port MUST NOT overlap.</li>
-<li>The format of the data in the buffer passed to port_event() is a single
- LV2_PUI_Peak_RMS_Data object, and the buffer size is
- sizeof(LV2_PUI_Peak_RMS_Data).</li>
-<li>The UI MUST NOT call write_port() with the ID for this port protocol as
- the port_protocol parameter.</li>
-<li>The host MUST ignore any write_port() calls with the ID for this port
- protocol as the port_protocol parameter.</li>
-<li>The data pointer in the LV2_Feature object for this feature should be
- NULL.</li>
-</ol>
-""" .
-
-pui:events
- a pui:PortProtocol ;
- rdfs:label "Event buffer" ;
- lv2:documentation """
-<ol>
-<li>This PortProtocol is valid for ports with the type ev:EventPort.</li>
-<li>The host MUST call port_event() whenever there is an event in an input port
- prior to the plugin instance's run() function is called, and whenever there
- is an event in an output port after run() has been called. The UI MUST NOT
- depend on the timing of the calls. However, the host MUST do the calls in
- the same order that the events occur in. The host is allowed and encouraged
- to bundle multiple events into a single port_event() call if it improves
- performance.</li>
-<li>The data buffer passed to port_event() is an LV2_Event_Buffer, as specified
- in the Event extension. The stamp_type MUST be ignored. The frames and
- subframes fields of every event in the buffer MUST be ignored. Events with
- type 0 (reference counted events) MUST be ignored.</li>
-<li>The data buffer passed to write_event() is an LV2_Event_Buffer, as
- specified in the Event extension. The stamp_type MUST be ignored. The
- frames and subframes fields of every event in the buffer MUST be
- ignored. The host MUST NOT pass events with type 0 (references) unless the
- UI supports the feature "http://lv2plug.in/ns/ext/event".</li>
-<li>The host MUST pass all the events in the buffer to the plugin instance's
- event port in the same order, but the plugin and the UI MUST NOT depend on
- the timing of the events, or on whether they are all sent to the plugin in
- the same run() call or distributed over multiple calls.</li>
-<li>The data pointer in the LV2_Feature object for this feature should be
- NULL.</li>
-</ol>
-""" .
-
-pui:Gtk2UI
- a rdfs:Class ;
- rdfs:subClassOf pui:UI ;
- rdfs:label "Gtk+ UI" ;
- lv2:documentation """
-<p>The class which represents a Gtk+ UI. For a successfully created instance of
-an UI of this class, the get_widget() function MUST return a pointer to a valid
-GtkWidget object compatible with Gtk+ version 2.0. The host MUST ensure that
-the Gtk+ library has been initialised and that the Glib main loop is running
-before an UI of this type is instantiated.</p>
-
-<p>Unless otherwise specified by extensions, all function pointers in
-LV2_PUI_Descriptor may only be called from the thread that runs the Glib main
-loop.</p>
-""" .
-
-pui:noHostResize
- a lv2:Feature ;
- rdfs:label "No host resize" ;
- lv2:documentation """
-<p>This Feature should only be used with UIs.</p>
-
-<p>When this Feature is active the host SHOULD NOT resize the UI widget to any
-other size than its natural size, which the host should be able to determine
-via the API of whatever toolkit the UI is implemented in. However, the UI MUST
-NOT break if the widget is resized to another size. This Feature can be used
-for example when the widget uses a fixed-size pixmap interface.</p>
-
-<p>The data pointer in the LV2_Feature object for this Feature should be set to
-NULL.</p>
-""" .
diff --git a/lv2/lv2plug.in/ns/ext/pui/waf b/lv2/lv2plug.in/ns/ext/pui/waf
deleted file mode 120000
index 5235032..0000000
--- a/lv2/lv2plug.in/ns/ext/pui/waf
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../waf \ No newline at end of file
diff --git a/lv2/lv2plug.in/ns/ext/pui/wscript b/lv2/lv2plug.in/ns/ext/pui/wscript
deleted file mode 120000
index 7e2c01b..0000000
--- a/lv2/lv2plug.in/ns/ext/pui/wscript
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../ext.wscript \ No newline at end of file
442' href='#n1442'>1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340