[LAD] easiest way to serialize messages for sending over a ringbuffer?
Paul Coccoli
pcoccoli at gmail.com
Wed Dec 14 21:52:01 UTC 2011
On Mon, Dec 12, 2011 at 10:24 PM, Iain Duncan <iainduncanlists at gmail.com> 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?
More information about the Linux-audio-dev
mailing list