Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19046
Modified Files: Tag: desiredata desire.c m_sched.c Log Message: uncheck audio checkbox whenever audio gets stuck
Index: m_sched.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_sched.c,v retrieving revision 1.5.4.35.2.21.2.9 retrieving revision 1.5.4.35.2.21.2.10 diff -C2 -d -r1.5.4.35.2.21.2.9 -r1.5.4.35.2.21.2.10 *** m_sched.c 28 Jun 2007 15:53:39 -0000 1.5.4.35.2.21.2.9 --- m_sched.c 30 Jun 2007 20:26:22 -0000 1.5.4.35.2.21.2.10 *************** *** 336,339 **** --- 336,341 ---- void sys_initmidiqueue ();
+ void canvas_stop_dsp (); + int m_scheduler () { int idlecount = 0; *************** *** 368,372 **** post("audio I/O stuck... closing audio\n"); sys_close_audio(); ! sched_set_using_dacs(0); goto waitfortick; } --- 370,375 ---- post("audio I/O stuck... closing audio\n"); sys_close_audio(); ! /* sched_set_using_dacs(0); replaced by matju 2007.06.30 by canvas_stop_dsp() */ ! canvas_stop_dsp(); goto waitfortick; }
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.142 retrieving revision 1.1.2.217.2.143 diff -C2 -d -r1.1.2.217.2.142 -r1.1.2.217.2.143 *** desire.c 30 Jun 2007 15:04:07 -0000 1.1.2.217.2.142 --- desire.c 30 Jun 2007 20:26:19 -0000 1.1.2.217.2.143 *************** *** 979,983 **** }
! static void canvas_stop_dsp() { if (canvas_dspstate) { ugen_stop(); --- 979,983 ---- }
! /*static*/ void canvas_stop_dsp() { if (canvas_dspstate) { ugen_stop();