Hello,
I am using jvstwrapper and wrote the getChunk function but no action I put into it is executed so I think it is never called.
How could I be sure that really it is called? I put the override clause but maybe it is not even linked to c++ vst library.
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't have my code under the eyes nor the opportunity to find a vst 2.4 spec. Thus, from memory, try in the initialization of your plugin to tell you are using chunks with "hasChunk(true)". Or (if this method is deprecated) in the method where you tell what your plug can, check it exists a "ChunkCanDo"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe something has changed since 2010, but for me the following code is what worked to get my DAW asking for Chunks... (in my custom VSTPluginAdapter constructor):
this.programsAreChunks(true);
Last edit: therealjuanmartinez 2016-03-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have added this.programsAreChunks(true) into the constructor and overriden the getChunk and setChunk methods. But these methods are still not being called at all. I put print statements in and they simply aren't called. Are there any other requirements to get this working?
Last edit: Jonathan Young 2016-05-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am using jvstwrapper and wrote the getChunk function but no action I put into it is executed so I think it is never called.
How could I be sure that really it is called? I put the override clause but maybe it is not even linked to c++ vst library.
Thanks in advance
I don't have my code under the eyes nor the opportunity to find a vst 2.4 spec. Thus, from memory, try in the initialization of your plugin to tell you are using chunks with "hasChunk(true)". Or (if this method is deprecated) in the method where you tell what your plug can, check it exists a "ChunkCanDo"
I checked in my code. You have use in the initialisation of your plugin:
Maybe something has changed since 2010, but for me the following code is what worked to get my DAW asking for Chunks... (in my custom VSTPluginAdapter constructor):
this.programsAreChunks(true);
Last edit: therealjuanmartinez 2016-03-01
I have added this.programsAreChunks(true) into the constructor and overriden the getChunk and setChunk methods. But these methods are still not being called at all. I put print statements in and they simply aren't called. Are there any other requirements to get this working?
Last edit: Jonathan Young 2016-05-25