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
super.. the name is klaus lebkuecher. i dont think he's on the list. thx!
gert
At 18:19 Uhr +0000 21.01.2003, Adam Lindsay wrote:
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
--
Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-