Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17979
Modified Files: Tag: devel_0_39 s_audio_jack.c s_audio_pablio.c s_file.c Log Message: fixed warnings
Index: s_audio_jack.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_jack.c,v retrieving revision 1.5.4.8.2.4 retrieving revision 1.5.4.8.2.5 diff -C2 -d -r1.5.4.8.2.4 -r1.5.4.8.2.5 *** s_audio_jack.c 27 Nov 2005 08:08:28 -0000 1.5.4.8.2.4 --- s_audio_jack.c 27 Nov 2005 23:14:02 -0000 1.5.4.8.2.5 *************** *** 191,199 **** }
! static int jack_xrun(void* arg) { jack_dio_error = 1; sys_log_error(ERR_XRUN); return 0; ! }
static int jack_graph_order_callback(void* arg) --- 191,199 ---- }
! /*static int jack_xrun(void* arg) { jack_dio_error = 1; sys_log_error(ERR_XRUN); return 0; ! }*/
static int jack_graph_order_callback(void* arg)
Index: s_file.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_file.c,v retrieving revision 1.2.4.8.2.5 retrieving revision 1.2.4.8.2.6 diff -C2 -d -r1.2.4.8.2.5 -r1.2.4.8.2.6 *** s_file.c 28 Oct 2005 12:11:30 -0000 1.2.4.8.2.5 --- s_file.c 27 Nov 2005 23:14:02 -0000 1.2.4.8.2.6 *************** *** 37,41 ****
static char *sys_prefbuf; ! static int sys_prefbufsize;
static void sys_initloadpreferences( void) --- 37,41 ----
static char *sys_prefbuf; ! /*static int sys_prefbufsize;*/
static void sys_initloadpreferences( void) *************** *** 106,114 **** }
! static void sys_doneloadpreferences( void) { if (sys_prefbuf) free(sys_prefbuf); ! }
static FILE *sys_prefsavefp; --- 106,114 ---- }
! /*static void sys_doneloadpreferences( void) { if (sys_prefbuf) free(sys_prefbuf); ! }*/
static FILE *sys_prefsavefp; *************** *** 118,122 **** char filenamebuf[MAXPDSTRING], errbuf[MAXPDSTRING], *homedir = getenv("HOME"); - FILE *fp;
if (!homedir) --- 118,121 ---- *************** *** 264,268 **** int nmidiindev, midiindev[MAXMIDIINDEV]; int nmidioutdev, midioutdev[MAXMIDIOUTDEV]; ! int i, rate = 0, advance = 0, dacblocksize = 0, api, nolib, maxi, scheduler = 0; char prefbuf[MAXPDSTRING], keybuf[80]; sys_initloadpreferences(); --- 263,267 ---- int nmidiindev, midiindev[MAXMIDIINDEV]; int nmidioutdev, midioutdev[MAXMIDIOUTDEV]; ! int i, rate = 0, advance = 0, dacblocksize = 0, api, maxi, scheduler = 0; char prefbuf[MAXPDSTRING], keybuf[80]; sys_initloadpreferences();
Index: s_audio_pablio.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_pablio.c,v retrieving revision 1.1.4.2.2.1 retrieving revision 1.1.4.2.2.2 diff -C2 -d -r1.1.4.2.2.1 -r1.1.4.2.2.2 *** s_audio_pablio.c 27 Nov 2005 08:08:28 -0000 1.1.4.2.2.1 --- s_audio_pablio.c 27 Nov 2005 23:14:02 -0000 1.1.4.2.2.2 *************** *** 221,228 **** PaError err; PABLIO_Stream *aStream; - long minNumBuffers; long numFrames; #ifdef PA19 PaStreamParameters instreamparams, outstreamparams; /* MSP */ #endif
--- 221,229 ---- PaError err; PABLIO_Stream *aStream; long numFrames; #ifdef PA19 PaStreamParameters instreamparams, outstreamparams; /* MSP */ + #else + long minNumBuffers; #endif