Rename LV2 designation (BPM, etc) stuff to match terminology used in the spec.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11874 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4b89f1d35c
commit
ef03dbe3a4
|
@ -151,10 +151,10 @@ class LV2Plugin : public ARDOUR::Plugin
|
|||
void run (nframes_t nsamples);
|
||||
void latency_compute_run ();
|
||||
|
||||
/** Find the LV2 input port for the given parameter.
|
||||
/** Find the LV2 input port with the given designation.
|
||||
* If found, bufptrs[port_index] will be set to bufptr.
|
||||
*/
|
||||
LilvPort* parameter_input (const char* uri, void** bufptrs[], void** bufptr);
|
||||
LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -167,8 +167,8 @@ LV2Plugin::init (LV2World& world, LilvPlugin* plugin, nframes_t rate)
|
|||
for (uint32_t i = 0; i < num_ports; ++i) {
|
||||
params[i] = NULL;
|
||||
}
|
||||
parameter_input (NS_TIME "beatsPerMinute", params, (void**)&_bpm_control_port);
|
||||
parameter_input (LILV_NS_LV2 "freeWheeling", params, (void**)&_freewheel_control_port);
|
||||
designated_input (NS_TIME "beatsPerMinute", params, (void**)&_bpm_control_port);
|
||||
designated_input (LILV_NS_LV2 "freeWheeling", params, (void**)&_freewheel_control_port);
|
||||
|
||||
for (uint32_t i = 0; i < num_ports; ++i) {
|
||||
if (parameter_is_control(i)) {
|
||||
|
@ -645,7 +645,7 @@ LV2Plugin::latency_compute_run ()
|
|||
}
|
||||
|
||||
LilvPort*
|
||||
LV2Plugin::parameter_input (const char* uri, void** bufptrs[], void** bufptr)
|
||||
LV2Plugin::designated_input (const char* uri, void** bufptrs[], void** bufptr)
|
||||
{
|
||||
LilvPort* port = NULL;
|
||||
#ifdef HAVE_NEW_LILV
|
||||
|
|
Loading…
Reference in New Issue