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(a)lists.linuxaudio.org
>
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev