| 719 | } |
| 720 | |
| 721 | void VSTWrapper::callSetChunk(bool isPgm, int len, void *buf) |
| 722 | { |
| 723 | VstPatchChunkInfo info; |
| 724 | |
| 725 | memset(&info, 0, sizeof(info)); |
| 726 | info.version = 1; |
| 727 | info.pluginUniqueID = mAEffect->uniqueID; |
| 728 | info.pluginVersion = mAEffect->version; |
| 729 | info.numElements = isPgm ? mAEffect->numParams : mAEffect->numPrograms; |
| 730 | |
| 731 | callSetChunk(isPgm, len, buf, &info); |
| 732 | } |
| 733 | |
| 734 | void VSTWrapper::callSetChunk(bool isPgm, int len, void *buf, VstPatchChunkInfo *info) const |
| 735 | { |