|
|
|
@@ -4014,17 +4014,6 @@ public: |
|
|
|
features[lv2_feature_id_worker]->URI = LV2_WORKER__schedule; |
|
|
|
features[lv2_feature_id_worker]->data = workerFt; |
|
|
|
|
|
|
|
// --------------------------------------------------------------- |
|
|
|
// initialize plugin |
|
|
|
|
|
|
|
handle = descriptor->instantiate(descriptor, x_engine->getSampleRate(), rdf_descriptor->Bundle, features); |
|
|
|
|
|
|
|
if (! handle) |
|
|
|
{ |
|
|
|
setLastError("Plugin failed to initialize"); |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
// --------------------------------------------------------------- |
|
|
|
// get info |
|
|
|
|
|
|
|
@@ -4046,6 +4035,17 @@ public: |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
// --------------------------------------------------------------- |
|
|
|
// initialize plugin |
|
|
|
|
|
|
|
handle = descriptor->instantiate(descriptor, x_engine->getSampleRate(), rdf_descriptor->Bundle, features); |
|
|
|
|
|
|
|
if (! handle) |
|
|
|
{ |
|
|
|
setLastError("Plugin failed to initialize"); |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
// --------------------------------------------------------------- |
|
|
|
// gui stuff |
|
|
|
|
|
|
|
|