From 2487cc4c589d53c8b2e08027570891e5fad5f663 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 21 Apr 2013 17:03:50 +0100 Subject: [PATCH] Proper naming of forced-stereo 2nd audio port for internal plugins --- source/backend/plugin/NativePlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/backend/plugin/NativePlugin.cpp b/source/backend/plugin/NativePlugin.cpp index bfdc53b7e..6771f6c2e 100644 --- a/source/backend/plugin/NativePlugin.cpp +++ b/source/backend/plugin/NativePlugin.cpp @@ -771,7 +771,7 @@ public: portName += ":"; } - if (aIns > 1) + if (aIns > 1 && ! forcedStereoIn) { portName += "input_"; portName += CarlaString(j+1); @@ -804,7 +804,7 @@ public: portName += ":"; } - if (aOuts > 1) + if (aOuts > 1 && ! forcedStereoOut) { portName += "output_"; portName += CarlaString(j+1);