From 436f04782146099c52d0d1f92bda321d491075ca Mon Sep 17 00:00:00 2001 From: hogliux Date: Tue, 22 Nov 2016 17:47:07 +0000 Subject: [PATCH] Fixed a bug where the maximum number of channels in VST2 was limited to 8 channels --- modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index 37f4f3f551..688c172d46 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -1472,8 +1472,8 @@ private: } else { - maxTotalIns = numInputBuses > 0 ? filter->getBus (true, 0)->getMaxSupportedChannels() : 0; - maxTotalOuts = numOutputBuses > 0 ? filter->getBus (false, 0)->getMaxSupportedChannels() : 0; + maxTotalIns = numInputBuses > 0 ? filter->getBus (true, 0)->getMaxSupportedChannels (64) : 0; + maxTotalOuts = numOutputBuses > 0 ? filter->getBus (false, 0)->getMaxSupportedChannels (64) : 0; } #endif }