==============================================================================
| 12 | |
| 13 | //============================================================================== |
| 14 | PluginProcessor::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 | |
| 38 | PluginProcessor::~PluginProcessor() = default; |
| 39 |
nothing calls this directly
no test coverage detected