- PluginServer *plugin_server = MWindow::scan_plugindb(title,
- track->data_type);
-//printf("Plugin::is_synthesis %d %p %d\n", __LINE__, plugin_server, plugin_server->get_synthesis());
-//plugin_server->dump();
- return plugin_server->get_synthesis();
- break;
+int Plugin::is_synthesis(int64_t position, int direction, int depth)
+{
+ if( depth > 255 ) {
+ printf("Plugin::is_synthesis %d: depth range limit, type=%s, title=%s\n",
+ __LINE__, type_to_text(plugin_type), title);
+ return 0;
+ }
+ switch( plugin_type ) {
+ case PLUGIN_STANDALONE: {
+ if( !track ) {
+ printf("Plugin::is_synthesis track not defined\n");
+ return 0;