hi Yves,
yes, splitting sys_gui()'s buffer into chunks, which are sent in a separate thread, is likely the best way to go about sending data to the pdgui -- so as not to interrupt audio by blocking on send().
Which is the important part. There is also a less important part I had in mind, that in order to make array redrawing _look_ smooth, the actual communication overhead would have to be minimized.
Krzysztof
Yves Degoyon wrote: ...
Redrawing arrays is quite another matter. With that amount of data to pass, people would keep complaining, unless graphics is done in a separate thread of the engine process.
that's a patch i've made once and with the one on soundfiler too to load the files in a thread, pd runs much more smoothly, here are the modifications for 0.37 tested on linux only.