Re: [LAD] easiest way to serialize messages for sending over a ringbuffer?

From: Paul Coccoli <pcoccoli@email-addr-hidden>
Date: Wed Dec 14 2011 - 23:52:01 EET

On Mon, Dec 12, 2011 at 10:24 PM, Iain Duncan <iainduncanlists@email-addr-hidden> wrote:
> Hi everyone, I have a fairly simple, known size message format, it's just
> five numbers, either ints or floats, wrapped in a structure. I guess I need
> some kind of serialization to send this over a jack ringbuffer, but I've
> zero experience with serialization in C++. Can anyone tell me what the
> easiest or best way to do this is? Should I use the boost serialization
> library? FWIW, I would like to eventually add osc messaging in too if that
> affects the best choice.

Can you send a pointer to your struct over the ringbuffer instead?
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Dec 15 00:15:02 2011

This archive was generated by hypermail 2.1.8 : Thu Dec 15 2011 - 00:15:02 EET