[PD] click- & dropEX for osx
V93r
gert at test.at
Tue Jan 21 18:00:09 CET 2003
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
More information about the Pd-list
mailing list