MCPcopy Create free account
hub / github.com/ZL-Audio/ZLEqualizer / PluginProcessor

Method PluginProcessor

source/PluginProcessor.cpp:14–36  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

12
13//==============================================================================
14PluginProcessor::PluginProcessor() :
15 AudioProcessor(BusesProperties()
16 .withInput("Input", juce::AudioChannelSet::stereo(), true)
17 .withInput("Aux", juce::AudioChannelSet::stereo(), true)
18 .withOutput("Output", juce::AudioChannelSet::stereo(), true)
19 ),
20 dummy_processor_(),
21 parameters_(*this, nullptr,
22 juce::Identifier("ZLEqualizerParameters"),
23 zlp::getParameterLayout()),
24 parameters_NA_(dummy_processor_, nullptr,
25 juce::Identifier("ZLEqualizerNAParameters"),
26 zlstate::getNAParameterLayout()),
27 controller_(*this),
28 chore_attachment_(*this, parameters_, controller_),
29 ext_side_(*parameters_.getRawParameterValue(zlp::PExtSide::kID)),
30 bypass_(*parameters_.getRawParameterValue(zlp::PBypass::kID)) {
31 for (size_t i = 0; i < zlp::kBandNum; ++i) {
32 filter_attachments_[i] = std::make_unique<zlp::FilterAttach>(*this, parameters_, controller_, i);
33 filter_dynamic_attachments_[i] = std::make_unique<zlp::FilterDynamicAttach>(*this, parameters_, controller_, i);
34 filter_side_attachments_[i] = std::make_unique<zlp::FilterSideAttach>(*this, parameters_, controller_, i);
35 }
36}
37
38PluginProcessor::~PluginProcessor() = default;
39

Callers

nothing calls this directly

Calls 2

getParameterLayoutFunction · 0.85
getNAParameterLayoutFunction · 0.85

Tested by

no test coverage detected