MCPcopy Create free account
hub / github.com/audacity/audacity / GetEffectFamilyName

Method GetEffectFamilyName

libraries/lib-effects/EffectManager.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60TranslatableString EffectManager::GetEffectFamilyName(const PluginID & ID)
61{
62 if(auto description = PluginManager::Get().GetPlugin(ID))
63 return TranslatableString { description->GetEffectFamily(), {} };
64
65 auto effect = GetEffect(ID);
66 if (effect)
67 return effect->GetDefinition().GetFamily().Msgid();
68 return {};
69}
70
71TranslatableString EffectManager::GetVendorName(const PluginID & ID)
72{

Callers 5

AddSortedEffectMenuItemsFunction · 0.80
CompareEffectsByTypeFunction · 0.80

Calls 5

GetFunction · 0.85
GetEffectFunction · 0.85
GetEffectFamilyMethod · 0.80
GetPluginMethod · 0.45
GetFamilyMethod · 0.45

Tested by

no test coverage detected