From 3f01bb72dfb2f1c51283cd4ad6199a221bf276fa Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 3 Dec 2012 18:08:01 +0000 Subject: [PATCH] VST hosting pin connection fix. --- .../format_types/juce_VSTPluginFormat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index 399fb05917..3a4efe1993 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -1321,7 +1321,8 @@ public: break; - case audioMasterPinConnected: return isValidChannel (index, value == 0) ? 1 : 0; + case audioMasterPinConnected: + return isValidChannel (index, value == 0) ? 0 : 1; // (yes, 0 = true) // none of these are handled (yet).. case audioMasterBeginEdit: