[PD-dev] Dead-simple threaded external example?
ben at ekran.org
Wed Feb 25 00:00:58 CET 2009
I'm working on a gphoto2 external.
I've gotten quite far, except now when I set a config option in the
camera PD gets a SIGHUP and the watchdog starts. I think this is due to
libgphoto doing some stuff in the background and messing with PD's
Once this call is made:
gp_ret = gp_camera_set_config (gphoto2->camera, config, NULL);
then no further lines are read, so I'm guessing PD bails before the
This is simply a control object, it need not provide any sync with
audio/gem, just needs to send the messages (via libusb) in a reasonable
amount of time.
Anyone have a very simply pthreads example in a PD external?
I've attached the current state of my code for reference, in case
someone has a better idea.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7041 bytes
Desc: not available
More information about the Pd-dev