Sensomusic

#1 2018-02-18 09:38:24

sm_jamieson
Platinum Member

I have not used the chunk system before. I have overloaded onGetChunkLen, onGetChunk and onSetChunk, and onGetChunkLen returns the size in bytes. On closing the onGetChunk is called, and I save the workspace. But for some reason when reloading, onSetChunk is never called.
Is there a trick to get it working ?
Simon.

Last edited by sm_jamieson (2018-02-18 09:39:36)

Offline

 

#2 2018-02-18 13:22:57

23fx23
Community

mm strange, not that i remember.  didn't trace but i get datas backs so its working here. maybe redrop a new module in fresh empty workspace when they have been implemented

Offline

 

#3 2018-02-20 10:40:08

sm_jamieson
Platinum Member

After dropping it again on an empty patch, it seems to be working. However I really need the chunk before Usine queries the parameters so I'm working on another way of saving the module config ...
I have put in a suggestion for a fast chunk access controlled by a flag.

Offline