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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Iain Duncan <iainduncanlists@...>, Harry van Haaren <harryhaaren@...>
Cc: <linux-audio-dev@...>
Date: Saturday, November 5, 2011 - 10:59 pm

--0015174bf168fdaf3804b104c569
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes

On , Iain Duncan wrote:

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().

--0015174bf168fdaf3804b104c569
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On , Iain Duncan <iainduncanlists@gmail.com> wrote:> What ki=
nd 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 henc=
e 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().
--0015174bf168fdaf3804b104c569--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] Communicating between python UI and C++ engine for..., , (Sat Nov 5, 10:59 pm)
Re: [LAD] Communicating between python UI and C++ engine for..., Gabriel M. Beddingfield, (Thu Nov 3, 2:05 am)
Re: [LAD] Communicating between python UI and C++ engine for..., Vytautas Jancauskas, (Thu Nov 3, 7:49 am)