DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 8fc65e2769c2c65c486c8d2c2ef11e55fab961eb
parent 2fa8b0cf6429f94cff3d9a46f9a4b629f6c23d7d
Author: falkTX <falktx@falktx.com>
Date:   Sun, 30 Oct 2022 17:07:23 +0000

Fix typo leading some VST3 groups having 0 ports

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
MREADME.md | 2+-
Mdistrho/src/DistrhoPluginVST3.cpp | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -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 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: diff --git a/distrho/src/DistrhoPluginVST3.cpp b/distrho/src/DistrhoPluginVST3.cpp @@ -2732,7 +2732,7 @@ private: } if (busId < busInfo.groups) - return portCountToSpeaker(fPlugin.getAudioPortCountWithGroupId(isInput, busId)); + return portCountToSpeaker(fPlugin.getAudioPortCountWithGroupId(isInput, portGroupId)); if (busInfo.audio != 0 && busId == busInfo.groups) return portCountToSpeaker(busInfo.audioPorts);