Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18677
Modified Files: Tag: desiredata s_audio_alsa.c s_audio_jack.c Log Message: 0.40
Index: s_audio_alsa.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_alsa.c,v retrieving revision 1.5.4.5.2.2 retrieving revision 1.5.4.5.2.2.2.1 diff -C2 -d -r1.5.4.5.2.2 -r1.5.4.5.2.2.2.1 *** s_audio_alsa.c 30 Nov 2005 13:36:58 -0000 1.5.4.5.2.2 --- s_audio_alsa.c 8 Dec 2006 06:37:39 -0000 1.5.4.5.2.2.2.1 *************** *** 38,41 **** --- 38,43 ---- static void alsa_checkiosync( void); static void alsa_numbertoname(int iodev, char *devname, int nchar); + static int alsa_jittermax; + #define ALSA_DEFJITTERMAX 3
/* don't assume we can turn all 31 bits when doing float-to-fix; *************** *** 241,244 **** --- 243,247 ---- alsa_buf_samps = nfrags * frag_size; alsa_nindev = alsa_noutdev = 0; + alsa_jittermax = ALSA_DEFJITTERMAX;
if (sys_verbose) *************** *** 656,659 **** --- 659,663 ---- { post("tried but couldn't sync A/D/A"); + alsa_jittermax += 1; return; } *************** *** 713,717 **** at a time, we just ask that the spread be not more than 3/4 of a block. */ ! if (maxphase <= minphase + (3 * sys_dacblocksize / 4)) break;
--- 717,721 ---- at a time, we just ask that the spread be not more than 3/4 of a block. */ ! if (maxphase <= minphase + (alsa_jittermax * (sys_dacblocksize / 4))) break;
Index: s_audio_jack.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_jack.c,v retrieving revision 1.5.4.8.2.7 retrieving revision 1.5.4.8.2.7.2.1 diff -C2 -d -r1.5.4.8.2.7 -r1.5.4.8.2.7.2.1 *** s_audio_jack.c 13 Apr 2006 18:50:23 -0000 1.5.4.8.2.7 --- s_audio_jack.c 8 Dec 2006 06:37:39 -0000 1.5.4.8.2.7.2.1 *************** *** 7,13 **** #include <stdlib.h> #include <string.h> ! #include <m_pd.h> #include "m_simd.h" - #include <s_stuff.h> #include <jack/jack.h> #include <regex.h> --- 7,12 ---- #include <stdlib.h> #include <string.h> ! #include "desire.h" #include "m_simd.h" #include <jack/jack.h> #include <regex.h>