[PD] click- & dropEX for osx
Adam Lindsay
atl at comp.lancs.ac.uk
Tue Jan 21 19:04:10 CET 2003
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 at iem.kug.ac.at
>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay atl at comp.lancs.ac.uk
Computing Dept, Lancaster University +44(0)1524/594.537
Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the Pd-list
mailing list