Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11735
Modified Files: Tag: devel_0_38 s_audio_oss.c Log Message: turning of block mode .... blocking the main thread is a _really_ bad idea ...
Index: s_audio_oss.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_oss.c,v retrieving revision 1.6.4.1 retrieving revision 1.6.4.2 diff -C2 -d -r1.6.4.1 -r1.6.4.2 *** s_audio_oss.c 10 Nov 2004 13:47:09 -0000 1.6.4.1 --- s_audio_oss.c 29 Apr 2005 21:20:28 -0000 1.6.4.2 *************** *** 70,74 ****
/* OSS-specific private variables */ ! static int oss_blockmode = 1; /* flag to use "blockmode" */ static int oss_32bit = 0; /* allow 23 bit transfers in OSS */ static char ossdsp[] = "/dev/dsp%d"; --- 70,74 ----
/* OSS-specific private variables */ ! static int oss_blockmode = 0; /* flag to use "blockmode" */ static int oss_32bit = 0; /* allow 23 bit transfers in OSS */ static char ossdsp[] = "/dev/dsp%d"; *************** *** 677,681 **** { audio_buf_info ainfo; ! sys_microsleep(2000); oss_calcspace(); if (linux_adcs[dev].d_space != 0) continue; --- 677,681 ---- { audio_buf_info ainfo; ! sys_microsleep(sys_sleepgrain); /* tb: changed to sys_sleepgrain */ oss_calcspace(); if (linux_adcs[dev].d_space != 0) continue;