Browse Source

Fix typo leading some VST3 groups having 0 ports

Signed-off-by: falkTX <falktx@falktx.com>
pull/409/head
falkTX 3 years ago
parent
commit
8fc65e2769
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      distrho/src/DistrhoPluginVST3.cpp

+ 1
- 1
README.md View File

@@ -31,7 +31,7 @@ Bug reports happen on the [DPF github project](https://github.com/DISTRHO/DPF/is


Online documentation is available at [https://distrho.github.io/DPF/](https://distrho.github.io/DPF/). Online documentation is available at [https://distrho.github.io/DPF/](https://distrho.github.io/DPF/).


Online help and discussion about DPF happens in the [kx.studio chat, DPF room](https://chat.kx.studio/).
Online help and discussion about DPF happens in the [kx.studio chat, DPF room](https://chat.kx.studio/channel/dpf).




## List of plugins made with DPF: ## List of plugins made with DPF:


+ 1
- 1
distrho/src/DistrhoPluginVST3.cpp View File

@@ -2732,7 +2732,7 @@ private:
} }


if (busId < busInfo.groups) if (busId < busInfo.groups)
return portCountToSpeaker(fPlugin.getAudioPortCountWithGroupId(isInput, busId));
return portCountToSpeaker(fPlugin.getAudioPortCountWithGroupId(isInput, portGroupId));


if (busInfo.audio != 0 && busId == busInfo.groups) if (busInfo.audio != 0 && busId == busInfo.groups)
return portCountToSpeaker(busInfo.audioPorts); return portCountToSpeaker(busInfo.audioPorts);


Loading…
Cancel
Save