From 39ba1c838307d66f0c99598d2b006b16fecc587c Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 26 Jan 2023 17:45:32 +0000 Subject: [PATCH] VST3: Remove unhelpful assertion Some hosts (e.g. REAPER) will attempt to instantiate plug-ins with 64 active channels, and JUCE can't represent this layout. In this case, failing to convert between VST3/JUCE layouts is not a logical error, so asserting is not appropriate. --- modules/juce_audio_processors/format_types/juce_VST3Common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/juce_audio_processors/format_types/juce_VST3Common.h b/modules/juce_audio_processors/format_types/juce_VST3Common.h index eb204b34f5..fae1f06a46 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3Common.h +++ b/modules/juce_audio_processors/format_types/juce_VST3Common.h @@ -485,7 +485,6 @@ inline std::optional getChannelSetForSpeakerArrangement (Steinb return AudioChannelSet::channelSetWithChannels (*order); // VST3 <-> JUCE layout conversion error: report this bug to the JUCE forum - jassertfalse; return {}; }