From 3ddbc82f9f54b1746b689b822c5eb5d7cf7e4923 Mon Sep 17 00:00:00 2001 From: Julian Storer Date: Fri, 8 Jan 2010 09:27:40 +0000 Subject: [PATCH] Fixed a typo in VST wrapper class. --- extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp b/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp index 09413c7235..97c1fea108 100644 --- a/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp +++ b/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp @@ -1041,7 +1041,7 @@ public: short channelConfigs[][2] = { JucePlugin_PreferredChannelConfigurations }; Array channelConfigsSorted; - ChannelConfigComparator comp; + ChannelConfigComparator comp; for (int i = 0; i < numElementsInArray (channelConfigs); ++i) channelConfigsSorted.addSorted (comp, channelConfigs[i]); @@ -1056,8 +1056,8 @@ public: { speakerIn = (VstSpeakerArrangementType) pluginInput->type; speakerOut = (VstSpeakerArrangementType) pluginOutput->type; - numInChans = speakerInChans; - numOutChans = speakerOutChans; + numInChans = pluginInput->numChannels; + numOutChans = pluginOutput->numChannels; filter->setPlayConfigDetails (numInChans, numOutChans, filter->getSampleRate(),