MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / createParams

Method createParams

PhaseLock/Source/PhaseLockAudioPlugin.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 ~Factory() override {}
10
11 std::shared_ptr<PluginParameters> createParams(SpectralAudioPlugin* plugin) override {
12 if(!m_pluginParams) {
13 m_pluginParams = std::make_shared<PhaseLockParameters>(plugin);
14 }
15
16 return m_pluginParams;
17 }
18
19 ParameterContainerComponent* createUi(SpectralAudioPlugin*) override {
20 return new SliderContainer(m_pluginParams, Colour::fromString(TEXT_COLOUR), 30);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected