Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26544/src
Modified Files: Tag: devel_0_38 s_audio_pa.c s_inter.c Log Message: fixes for VC++ compilation
Index: s_inter.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v retrieving revision 1.5.4.8 retrieving revision 1.5.4.9 diff -C2 -d -r1.5.4.8 -r1.5.4.9 *** s_inter.c 8 May 2005 23:14:35 -0000 1.5.4.8 --- s_inter.c 11 May 2005 16:41:16 -0000 1.5.4.9 *************** *** 158,165 **** int i; t_fdpoll *fp; timout.tv_sec = 0; timout.tv_usec = 0;
- fd_set readset, writeset, exceptset; FD_ZERO(&writeset); FD_ZERO(&readset); --- 158,165 ---- int i; t_fdpoll *fp; + fd_set readset, writeset, exceptset; timout.tv_sec = 0; timout.tv_usec = 0;
FD_ZERO(&writeset); FD_ZERO(&readset);
Index: s_audio_pa.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_pa.c,v retrieving revision 1.4.4.3 retrieving revision 1.4.4.4 diff -C2 -d -r1.4.4.3 -r1.4.4.4 *** s_audio_pa.c 11 May 2005 14:32:07 -0000 1.4.4.3 --- s_audio_pa.c 11 May 2005 16:41:16 -0000 1.4.4.4 *************** *** 12,15 **** --- 12,16 ---- #include "s_stuff.h" #include <stdio.h> + #include <string.h> #include <stdlib.h> #include <portaudio.h> *************** *** 345,349 **** for( i=0; i<numDevices; i++ ) { ! PaDeviceInfo * pdi = Pa_GetDeviceInfo( i ); post ("device %s", pdi->name); fprintf(stderr, "device %d:", i+1 ); --- 346,350 ---- for( i=0; i<numDevices; i++ ) { ! const PaDeviceInfo *pdi = Pa_GetDeviceInfo( i ); post ("device %s", pdi->name); fprintf(stderr, "device %d:", i+1 );