Hi Steve,
On Monday 09 July 2007 12:17:41 Steve Harris wrote:
> Use the lo_blob_datasize() and lo_blob_dataptr() function to access it.
> You should bet a 'b' type argument in the incoming message that you
> can pull apart with those functions.
ok, got it:
lo_blob blob = argv[2];
int size = lo_blob_datasize(blob) / 4;
float * bdata = lo_blob_dataptr(blob);
decodes my third argument, which is a blob, as floats.
thanks for the pointers!
sincerely,
Maije
>
> - Steve
>
> On 9 Jul 2007, at 11:08, nescivi wrote:
> > Hi,
> >
> > I am writing a program, where I have to receive osc messages with
> > have their
> > last argument as a blob type.
> > Does anyone have an example of how to decode the blob using liblo?
> >
> > sincerely,
> > Marije
> > _______________________________________________
> > Linux-audio-dev mailing list
> > Linux-audio-dev@email-addr-hidden
> > http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Mon Jul 9 16:15:02 2007
This archive was generated by hypermail 2.1.8 : Mon Jul 09 2007 - 16:15:02 EEST