From 43f6d53a561cfb49e92b940dbcc3a27721d9e848 Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Thu, 29 Aug 2024 22:12:52 +0100 Subject: [PATCH] proper port names --- plugin/barrverb.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/barrverb.cpp b/plugin/barrverb.cpp index ff430da..9ce1c34 100644 --- a/plugin/barrverb.cpp +++ b/plugin/barrverb.cpp @@ -106,6 +106,11 @@ float BarrVerb::getParameterValue(uint32_t index) const { void BarrVerb::initAudioPort(bool input, uint32_t index, AudioPort &port) { port.groupId = kPortGroupStereo; Plugin::initAudioPort(input, index, port); + + if (input && index == 0) port.name="Left In"; + if (input && index == 1) port.name="Right In"; + if (!input && index == 0) port.name="Left Out"; + if (!input && index == 1) port.name="Right Out"; } void BarrVerb::initProgramName(uint32_t index, String &programName) {