I checked this in to CVS (devel_0_36) after confirming that this does eliminate a whole bunch of dropouts. Yay!
Thanks again, Gert, and whomever else relayed this fix to you...
adam
V93r said this at Tue, 21 Jan 2003 18:00:09 +0100:
hello pd osx'ers,
i got relayed a fix for the problem of clicks&dropouts in pd, even when running -rt:
go to src/
in the file m_sched.c:
put in top of file:
#include </usr/include/pthread.h>
after line 360 (inside method int m_scheduler(int nodacs)) add:
struct sched_param param; int policy = SCHED_RR; int err; param.sched_priority = 80; // adjust 0 : 100 err = pthread_setschedparam(pthread_self(), policy, ¶m);
save.. recompile.. enjoy click- & dropout freeness :)
best, gert
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list