MCPcopy Create free account
hub / github.com/amsynth/amsynth / patchSet

Method patchSet

src/plugins/lv2/lv2plugin.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 std::map<LV2_URID, std::string> patch_values;
63
64 void patchSet(LV2_URID urid, const char *value)
65 {
66 patch_values[urid] = (std::string) value;
67#define PATCH_SET_PROP(Name) if (urid == uris.amsynth_##Name) synth.setProperty(#Name, value);
68 FOR_EACH_PROPERTY(PATCH_SET_PROP)
69 }
70};
71
72static LV2_Handle

Callers 2

restoreFunction · 0.80
workFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected