We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccefc17 commit be8031cCopy full SHA for be8031c
1 file changed
src/modules/jackrack/plugin_mgr.c
@@ -194,16 +194,13 @@ typedef AEffect* (*VST_Function)(audioMasterCallback);
194
static gboolean plugin_is_valid(const LADSPA_Descriptor *descriptor)
195
{
196
unsigned long i;
197
- unsigned long icount = 0;
198
unsigned long ocount = 0;
199
200
for (i = 0; i < descriptor->PortCount; i++) {
201
if (!LADSPA_IS_PORT_AUDIO(descriptor->PortDescriptors[i]))
202
continue;
203
204
- if (LADSPA_IS_PORT_INPUT(descriptor->PortDescriptors[i]))
205
- icount++;
206
- else
+ if (!LADSPA_IS_PORT_INPUT(descriptor->PortDescriptors[i]))
207
ocount++;
208
}
209
0 commit comments