Browse Source

VST3: Fixed a harmless MSVC warning in previous commit

tags/2021-05-28
hogliux 8 years ago
parent
commit
0a2fabb2e1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 2
- 2
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -1852,7 +1852,7 @@ public:
for (int i = 0; i < numInputBuses; ++i) for (int i = 0; i < numInputBuses; ++i)
{ {
auto& layout = pluginInstance->getChannelLayoutOfBus (true, i);
auto layout = pluginInstance->getChannelLayoutOfBus (true, i);
if (layout.isDiscreteLayout() && ! layout.isDisabled()) if (layout.isDiscreteLayout() && ! layout.isDisabled())
return false; return false;
@@ -1860,7 +1860,7 @@ public:
for (int i = 0; i < numOutputBuses; ++i) for (int i = 0; i < numOutputBuses; ++i)
{ {
auto& layout = pluginInstance->getChannelLayoutOfBus (false, i);
auto layout = pluginInstance->getChannelLayoutOfBus (false, i);
if (layout.isDiscreteLayout() && ! layout.isDisabled()) if (layout.isDiscreteLayout() && ! layout.isDisabled())
return false; return false;


Loading…
Cancel
Save