MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / MakeEffect

Method MakeEffect

Source/EffectFactory.cpp:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79IAudioEffect* EffectFactory::MakeEffect(std::string type)
80{
81 if (type == "eq") //fix up old save data
82 type = "basiceq";
83
84 auto iter = mFactoryMap.find(type);
85 if (iter != mFactoryMap.end())
86 return iter->second();
87 return nullptr;
88}
89
90std::vector<std::string> EffectFactory::GetSpawnableEffects()
91{

Callers 2

FilterVizMethod · 0.80
AddEffectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected