We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1f04e commit bf161d9Copy full SHA for bf161d9
1 file changed
src/main/plug/deesser.cpp
@@ -62,11 +62,10 @@ namespace lsp
62
Module(meta)
63
{
64
// Compute the number of audio channels by the number of inputs
65
- nChannels = 0;
66
- for (const meta::port_t *p = meta->ports; p->id != NULL; ++p)
67
- if (meta::is_audio_in_port(p))
68
- ++nChannels;
69
-
+ nChannels =
+ ((strcmp(meta->uid, meta::deesser_stereo.uid) == 0) ||
+ (strcmp(meta->uid, meta::sc_deesser_stereo.uid) == 0)) ?
+ 2 : 1;
70
// Initialize other parameters
71
vChannels = NULL;
72
vBuffer = NULL;
0 commit comments