MCPcopy Create free account
hub / github.com/LMMS/lmms / ladspaKeyToSubPluginKey

Function ladspaKeyToSubPluginKey

include/LadspaBase.h:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77inline Plugin::Descriptor::SubPluginFeatures::Key ladspaKeyToSubPluginKey(
78 const Plugin::Descriptor * _desc,
79 const QString & _name,
80 const ladspa_key_t & _key )
81{
82 Plugin::Descriptor::SubPluginFeatures::Key::AttributeMap m;
83 QString file = _key.first;
84 m["file"] = file.remove( QRegExp( "\\.so$" ) ).remove( QRegExp( "\\.dll$" ) );
85 m["plugin"] = _key.second;
86 return Plugin::Descriptor::SubPluginFeatures::Key( _desc, _name, m );
87}
88
89
90#endif

Callers 1

listSubPluginKeysMethod · 0.85

Calls 2

KeyClass · 0.70
removeMethod · 0.45

Tested by

no test coverage detected