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

From: <harryhaaren@email-addr-hidden>
Date: Sun Nov 06 2011 - 00:59:26 EET

On , Iain Duncan <iainduncanlists@email-addr-hidden> 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().

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Nov 6 04:15:02 2011

This archive was generated by hypermail 2.1.8 : Sun Nov 06 2011 - 04:15:02 EET