[linux-audio-dev] liblo lo_message_deserialise?

Steve Harris S.W.Harris at ecs.soton.ac.uk
Thu Jan 12 16:58:34 EST 2006


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.

- Steve


More information about the linux-audio-dev mailing list