| 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 | |
| 72 | static LV2_Handle |