[linux-audio-dev] liblo lo_message_deserialise?
Dave Robillard
drobilla at connect.carleton.ca
Tue Jan 17 19:16:12 UTC 2006
On Thu, 2006-12-01 at 21:58 +0000, Steve Harris wrote:
> On Thu, Jan 12, 2006 at 04:22:44 +0100, Mario Lang wrote:
> > Hi.
> >
> > While playing a little with the liblo lowlevel interface
> > (I am trying to deliver and receive/decode OSC messages via a non-UDP/TCP
> > transport), I found lo_message_serialise. I also had to rip
> > a bit of code from lo_send_internal and friends.
> > However, I cant find a counterpart for decomposing messages, so
> > I guess currently, I would have to rip even more code out of
> > the lib itself. I am wondering, would anyone else benefit
> > from a clean lowlevel API for decoding messages to a lo_message?
> >
> > I am imagining something like
> >
> > lo_message lo_message_from_buffer (char *buf, int size)
> >
> > Any comments?
>
> Make sense to me, and it would make lo_server_recv() cleaner if the OSC
> parsing stuff was seperate from the IO stuff.
I would also like very much a simple mechanism to serialize and
deserialize OSC messages to/from raw OSC packets, FWIW.
-DR-
More information about the Linux-audio-dev
mailing list