NO-OP: whitespace
authorRobin Gareus <robin@gareus.org>
Mon, 29 Jan 2018 23:44:09 +0000 (00:44 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 30 Jan 2018 00:34:29 +0000 (01:34 +0100)
libs/ardour/plugin_manager.cc

index 6df915279ce930e8d8893af7bce32a8ee84d022b..a8379d74a8ef2b3bc83697056c54697522e46ddb 100644 (file)
@@ -689,11 +689,11 @@ PluginManager::ladspa_discover (string path)
                info->unique_id = buf;
 
                for (uint32_t n=0; n < descriptor->PortCount; ++n) {
-                       if ( LADSPA_IS_PORT_AUDIO (descriptor->PortDescriptors[n]) ) {
-                               if ( LADSPA_IS_PORT_INPUT (descriptor->PortDescriptors[n]) ) {
+                       if (LADSPA_IS_PORT_AUDIO (descriptor->PortDescriptors[n])) {
+                               if (LADSPA_IS_PORT_INPUT (descriptor->PortDescriptors[n])) {
                                        info->n_inputs.set_audio(info->n_inputs.n_audio() + 1);
                                }
-                               else if ( LADSPA_IS_PORT_OUTPUT (descriptor->PortDescriptors[n]) ) {
+                               else if (LADSPA_IS_PORT_OUTPUT (descriptor->PortDescriptors[n])) {
                                        info->n_outputs.set_audio(info->n_outputs.n_audio() + 1);
                                }
                        }
@@ -1268,12 +1268,14 @@ PluginManager::lxvst_discover (string path, bool cache_only)
                info->n_outputs.set_midi ((finfo->wantMidi&2) ? 1 : 0);
                info->type = ARDOUR::LXVST;
 
-                                       /* Make sure we don't find the same plugin in more than one place along
-                        the LXVST_PATH We can't use a simple 'find' because the path is included
-                        in the PluginInfo, and that is the one thing we can be sure MUST be
-                        different if a duplicate instance is found.  So we just compare the type
-                        and unique ID (which for some VSTs isn't actually unique...)
-               */
+               set_tags (info->type, info->unique_id, info->category, true);
+
+               /* Make sure we don't find the same plugin in more than one place along
+                * the LXVST_PATH We can't use a simple 'find' because the path is included
+                * in the PluginInfo, and that is the one thing we can be sure MUST be
+                * different if a duplicate instance is found.  So we just compare the type
+                * and unique ID (which for some VSTs isn't actually unique...)
+                */
 
                // TODO: check dup-IDs with windowsVST, too
                bool duplicate = false;