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
Gert,
This sounds like great news! I'm compiling now, and as soon as I can verify, I will commit it in CVS.
May I ask who came up with this, so that it can be more properly attributed?
Many thanks, 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