[LAD] Communicating between python UI and C++ engine for real time audio?

harryhaaren at gmail.com harryhaaren at gmail.com
Sat Nov 5 22:59:26 UTC 2011


On , Iain Duncan <iainduncanlists at gmail.com> wrote:
> What kind of context requires that?

When sending a "blob" of binary OSC data, it is required that this data is  
sequential in memory, as in an array. Linked lists don't nessiarily have  
this property, and hence you can't blob send them.

So the nasty fix is to iter over the list, and put each event into a  
vector, and then blob send the memory starting at vectorName[0] until  
vectorName[0] + vectorName.size().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20111105/40c51695/attachment.html>


More information about the Linux-audio-dev mailing list