On Wed, 10 Nov 2004, Thomas Grill wrote:
I thought that maybe sys_unlock should be called before sys_send_dacs, because thats the only place that pd waits under linux. didn't doublecheck though.
I tried that yesterday and it works well (i also posted a patch at the patch tracker), although i'm not sure that this is really safe - what about [; pd dsp 0( posted during that time? (ok, maybe that's pathological)
maybe it would be better to change the idle function to do a select() on the soundcard I/O under Linux. This would make it more secure. Unfortunately no time to really try this out.
Guenter
best greetings, Thomas
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev