Browse Source

Fixed an AAX bug where the sidechain buffer was not cleared when the sidechain isn't connected

tags/2021-05-28
hogliux 9 years ago
parent
commit
9e4741f2e4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp

+ 2
- 2
modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp View File

@@ -1186,7 +1186,7 @@ namespace AAXClasses
// value during initialisation.
pluginInstance->prepareToPlay (sampleRate, bufferSize);
maxBufferSize = bufferSize;
sideChainBuffer.realloc (static_cast<size_t> (maxBufferSize));
sideChainBuffer.calloc (static_cast<size_t> (maxBufferSize));
}
}
@@ -1386,7 +1386,7 @@ namespace AAXClasses
hasSidechain = audioProcessor.getChannelLayoutOfBus (true, 1) == AudioChannelSet::mono();
if (hasSidechain)
sideChainBuffer.realloc (static_cast<size_t> (maxBufferSize));
sideChainBuffer.calloc (static_cast<size_t> (maxBufferSize));
}
check (Controller()->SetSignalLatency (audioProcessor.getLatencySamples()));


Loading…
Cancel
Save