diff --git a/ear-production-suite-plugins/plugins/scene/src/scene_plugin_processor.cpp b/ear-production-suite-plugins/plugins/scene/src/scene_plugin_processor.cpp index 56f2961b..32cc28c8 100644 --- a/ear-production-suite-plugins/plugins/scene/src/scene_plugin_processor.cpp +++ b/ear-production-suite-plugins/plugins/scene/src/scene_plugin_processor.cpp @@ -125,16 +125,9 @@ void SceneAudioProcessor::releaseResources() {} bool SceneAudioProcessor::isBusesLayoutSupported( const BusesLayout& layouts) const { - if(layouts.inputBuses.size() != 1) - return false; - if (layouts.inputBuses[0] != - AudioChannelSet::discreteChannels(numDawChannels_)) - return false; + auto i = layouts.getMainInputChannels(); + return i == numDawChannels_; - if(layouts.outputBuses.size() != 0) - return false; - - return true; } void SceneAudioProcessor::processBlock(AudioBuffer& buffer, diff --git a/reaper-adm-export-source-plugin/src/PluginProcessor.cpp b/reaper-adm-export-source-plugin/src/PluginProcessor.cpp index dd07f553..b62c5f26 100644 --- a/reaper-adm-export-source-plugin/src/PluginProcessor.cpp +++ b/reaper-adm-export-source-plugin/src/PluginProcessor.cpp @@ -9,7 +9,7 @@ AdmStemPluginAudioProcessor::AdmStemPluginAudioProcessor() #ifndef JucePlugin_PreferredChannelConfigurations : AudioProcessor (BusesProperties() - .withInput("Input", AudioChannelSet::discreteChannels(numDawChannels_), true) + .withInput("Input", AudioChannelSet::discreteChannels(MAX_DAW_CHANNELS), true) ) #endif {