Browse Source

Fixed a typo in VST wrapper class.

tags/2021-05-28
Julian Storer 16 years ago
parent
commit
3ddbc82f9f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp

+ 3
- 3
extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp View File

@@ -1041,7 +1041,7 @@ public:
short channelConfigs[][2] = { JucePlugin_PreferredChannelConfigurations };
Array <short*> channelConfigsSorted;
ChannelConfigComparator <short*> 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(),


Loading…
Cancel
Save